eval [function]
eval( string code )
returns the result of evaluating the passed code
string as SGScript code
- this function is equivalent to sgs_EvalBuffer / sgs_EvalString in the C API
eval("print 5;"); // prints 5
code
string as SGScript codeeval("print 5;"); // prints 5