ScriptVal

 

Interprets the result of a script as number. This function is not available for all applications.

Parameter:

String               Script language (e.g. 'CSharpScript', 'VBScript')

String               Code

Boolean                       (optional) Function

Return value:

Number

Example:

ScriptVal("CSharpScript", LoadFile$(ProjectPath$(False) + "Script.cs"))