value – function
-
function
-
value(expr), the value of expr
-
The value function evaluates the string expr as a SenseTalk expression and returns its value in the current context (that is, expr may include local variables in the current handler).
-
Examples: +
put value("5+8") —> 13
set text to "then you will see Gandalf the Grey uncloaked"
put value of "word 5 of text" —> Gandalf -
Related: do