Posts: 18
Threads: 2
Joined: Sep 2013
Suppose I want to put a function call into a string and call it later. How do I do that?
For instance, if I try:
EVAL("SIN(30)")
all I get is:
"SIN(30)"
How do I get it to actually evaluate the string?
-Jonathan
Edited: 28 Sept 2013, 6:06 p.m.
Posts: 18
Threads: 2
Joined: Sep 2013
Ok, found the answer to my own question!
You must use the single quotes:
EVAL('SIN(30)') ==> .5
Posts: 709
Threads: 104
Joined: Nov 2005
Quote:
Ok, found the answer to my own question!
You must use the single quotes:
EVAL('SIN(30)') ==> .5
You may have been thinking of:
EXPR("SIN(30)");
which is another way to do it.