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().
In reply to Re: Re: Re: Inputing an Operator is it possible?
by peschkaj
in thread Inputing an Operator is it possible?
by $Variable_B
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |