WAN Traffic Manager
305
no
vd
ocx (
E
NU)
01
F
ebr
ua
ry
200
6
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.
Relational Operators
You can use relational operators in IF constructions. The valid operators are
• Equal to (=)
• Not equal to (< >)
• Greater than (>)
• Greater than or equal to (>=)
• Less than (<)
• Less than or equal to (<=)
You can use any relational operators with TIME and INT variable types. You can also use < > and =
with NET ADDRESS and BOOLEAN variable types.
Содержание EDIRECTORY 8.8 - GUIDE
Страница 4: ...novdocx ENU 01 February 2006...
Страница 16: ...16 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 68: ...68 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 90: ...90 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 116: ...116 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 128: ...128 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 184: ...184 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 249: ...250 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 307: ...308 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 333: ...334 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 371: ...372 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 439: ...440 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 519: ...520 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 529: ...530 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 555: ...556 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...