in reply to Re: Re: Inputing an Operator is it possible?
in thread Inputing an Operator is it possible?

You have to be cautious of using eval(). It's quite possible for some joker to come along and type "rm / -rf" and run your program. That said, it's also the easiest way to get the code to work. Some others have suggested some very good checks to take care of malicious use of eval().



If you make something idiot-proof, eventually someone will make a better idiot.
I am that better idiot.
  • Comment on Re: Re: Re: Inputing an Operator is it possible?

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.