M E N U
Content
Introduction
Release Notes
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Referance Manual
Conventions
Scriptlets
Data Types
Constants
Variables
Procedures
Operators
Object [.]
Expression [( )]
Unary Not [!]
Unary Plus [+]
Unary Minus [-]
Multiplication [*]
Division [/]
Addition [+]
Subtraction [-]
Concatenation [+]
Less Than [<]
Greater Than [>]
Less Than
Or Equal To [<=]
Greater Than
Or Equal To [>=]
Equal To [=]
Not Equal To [<>]
Logical And [and]
Logical Or [or]
Assignment [=]
Sequence [,]
Statements
Objects
Wrappers
Server Side
Preprocessor
Executable
Make
Samples
Legal
Feedback
|
Operators are symbols which represent an operation on an expresion.
Syntax
Category |
Operators |
Assignment |
variable = expression |
Binary |
expression [ Arithmetic | Logical | String ] expression |
|
[ + | - | * | /
] |
|
[ and | or ] |
|
[ < | > | <= | >=
| = | <> ] |
|
[ + ] |
Expression |
[ . | ( expression ) ] |
Sequence |
[ , ] |
Unary |
[ ! | - | + ] expression |
Notes
Operators are evaluated by precedence.
Operator |
Description |
Precedence |
Expression |
|
|
|
object operator |
7 |
|
parentheses expression delimitor |
7 |
Unary |
|
|
|
not operator |
6 |
|
plus operator |
6 |
|
minus operator |
6 |
Binary - Arithmetic |
|
|
|
multiplication operator |
5 |
|
division operator |
5 |
|
addition operator |
5 |
|
subtraction operator |
5 |
Binary - String |
|
|
|
concatenation operator |
5 |
Binary - Relational |
|
|
|
less than operator |
4 |
|
greater than operator |
4 |
|
less than or equal to operator |
4 |
|
greater than or equal to operator |
4 |
|
equal to operator |
4 |
|
not equal to operator |
4 |
Binary - Logical |
|
|
|
and operator |
3 |
|
or operator |
3 |
Assignment |
|
|
|
assignment operator |
2 |
Sequence |
|
|
|
sequence operator |
1 |
Example
result = 10
x + 5
!doMore
isObject or isConstant
index < length
(offset + 10) / 2
max( value1, value2 )
|