| Prev | Next | Basic Verbs > evaluate |
evaluate
| Syntax |
evaluate (string)
|
| Params |
string is a string value.
|
| Action |
Compiles and interprets string as a Frontier script.
|
| Returns |
Returns the value of the string when it is run as a script
|
| Examples |
evaluate ("msg (\"Hello, Frontier addict!")") » true
Returns the result of string argument being executed as a script.
|
| Errors |
A variety of errors can be generated if string is not a valid Frontier script, depending on what is wrong with it.
|
| Notes |
The evaluate verb is useful primarily in situations where you are building elements of a script dynamically, storing them in the Object Database or in a variable and wish to execute the result.
|
| See Also |
runSelection
|
| Prev | Next | Basic Verbs > evaluate |