WAN Traffic Manager
319
n
ov
do
cx (e
n)
22
Ju
n
e 20
09
A semicolon (;) is required to terminate the declaration. For example:
RETURN SEND;
RETURN DONT_SEND;
RETURN L1;
Assignment
The assignment declaration changes the value of a symbol using the := characters. The defined
variable or system variable is stated first, then the := with a value, variable, or operation following.
The assignment declaration must be terminated with a semicolon (;). For example:
variable
.
field
:=
expression
;
variable
:=
expression
;
t1 and t2 are of type TIME, i1 and i2 are type INTEGER, and b1 and b2 are Boolean valid
assignments:
t1 := t2;
b1 := t1 < t2;
i1 := t1.mday - 15;
b2 := t2.year < 2000
Invalid assignments:
b1 := 10 < i2 < 12;
(10 < i2) is Boolean, and a BOOLEAN cannot be compared to an INTEGER.
You could use b1 := (10 < i2) AND (i2 < 12); instead. For example:
b2 := i1;
b2 is Boolean and i1 is INTEGER. Therefore, they are incompatible types.
You could use b2 := i1 > 0; instead.
Strict type checking is performed. You are not allowed to assign an INT to a TIME variable.
Arithmetic Operators
You can include arithmetic operators in assignment declarations, RETURN declarations, or IF
constructions. The valid operators are
Addition (+)
Subtraction (-)
Division (/)
Multiplication (*)
Module (MOD)
Use only INT variable types with arithmetic operators. Do not use TIME, NETADDRESS, or
BOOLEAN variable types in arithmetic expressions.
Avoid operations that result in values outside of the range -2147483648 to +2147483648 or division
by 0.
Summary of Contents for EDIRECTORY 8.8 SP5
Page 4: ...4 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 72: ...72 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 118: ...118 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 130: ...130 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 188: ...188 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 222: ...222 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 240: ...240 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 264: ...264 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 290: ...290 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 322: ...322 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 540: ...540 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 548: ...548 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 616: ...616 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...