Share via


Expressions in Script

This topic applies to:

Edition

Visual Basic

C#

C++

Web Developer

Express

Topic applies Topic applies Topic applies Topic applies

Standard

Topic applies Topic applies Topic applies Topic applies

Pro and Team

Topic applies Topic applies Topic applies Topic applies

Table legend:

Topic applies

Applies

Topic does not apply

Does not apply

Topic applies but command hidden by default

Command or commands hidden by default.

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

Functions and Function Calls

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.

eval Method

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

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

Array Literals

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

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

Regular Expression Literals

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

See Also

Other Resources

Expressions in the Debugger

JScript