
WAN Traffic Manager
317
n
ov
do
cx (e
n)
11
Ju
ly 20
08
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.
Содержание EDIRECTORY 8.8 SP3
Страница 4: ...novdocx en 11 July 2008...
Страница 72: ...72 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 120: ...120 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 132: ...132 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 190: ...190 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 238: ...238 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 262: ...262 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 288: ...288 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 320: ...320 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 348: ...348 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 388: ...388 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 492: ...492 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 586: ...586 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 599: ...The eDirectory Management Toolbox 599 novdocx en 11 July 2008 Click Help for details...
Страница 600: ...600 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 614: ...614 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...