Eval

result = Eval("<expression>") 

Evaluates an expression of the given string argument. 
The expression can include existing variables.

Example:

Input "Insert a mathematical expression (for example: 1+3*5):"; m$
Print "The result is "; 
Eval(m$)

Comments