Export (0) Print
Expand All

Expressions in Script

The script expression evaluator accepts most expressions written in ASP-based JScript and VBScript. For JScript, it accepts most expressions, with a few exceptions:

The expression evaluator does not support the declaration of new functions or the dynamic creation of functions using new Function.

The expression evaluator supports function calls with By Value arguments but does not support function calls with By Reference arguments, objects, arrays, functions, and strings.

The expression evaluator does not support expressions that use the eval method, such as:

eval("mydate = new "+dateFn+";")

The expression evaluator does not support array literals, such as:

var al1 : Array = [1,2,"3"];

The expression evaluator does not support regular expression literals, such as data*.dat.

Show:
© 2014 Microsoft