Next: , Previous: , Up: Internal Routines   [Contents][Index]


15.5.182 eval

eval(x [, n, /allnumber])

Compiles and evaluates a string, interpreting it as LUX code. Non-strings are just evaluated. If n and/or keyword /allnumber are specified, then numbers are read from x. n indicates how many numbers to read from x, and /allnumber indicates that all numbers are to be read. The read numbers are returned in a scalar (if one number) or array (if more than one number), and if no number is found then a zero is returned for it.

See also: execute