Expressions in Script
This topic applies to:
Edition |
Visual Basic |
C# |
C++ |
Web Developer |
---|---|---|---|---|
Express |
||||
Standard |
||||
Pro and Team |
Table legend:
Applies |
|
Does not apply |
|
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.