ScriptBool

 

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

Parameter:

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

String               Code

Boolean                       (optional) Function

Return value:

Boolean

Example:

ScriptBool("CSharpScript", "WScript.Result=DateTime.IsLeapYear(1971);")