Link Search Menu Expand Document

NetObject.Eval Method

Explanation Run the CRS script.
Executing a script with the Eval method works the same as executing a Function from the caller. The CRS script to be executed can be given as a string by the crs argument, and the return value can be returned by the return statement, which is the return value of the Eval method.
Added since Version 4.2.0
Not supported in Mobile
Call format obj.Eval( crs )
Return value Depends on the script's return statement
Argument String crs Specify the CRS script as a string.
Exception None
Example of use
var t = Eval("return new " + str(type) + ";");
Append(t, "data");
Related item