304
Novell eDirectory 8.8 Administration Guide
no
vd
ocx (
E
NU)
01
F
ebr
ua
ry
200
6
ELSIF
Boolean_Expression
THEN
The Boolean expression is evaluated if the preceding IF-THEN declaration returns a FALSE. The
ELSIF declaration is evaluated for a TRUE or FALSE result. If it is TRUE, the declarations that
follow are run. If it is FALSE, execution jumps to the next corresponding ELSE, ELSIF, or END
declaration.
For example:
IF
Boolean_expression
THEN
statements
ELSIF
Boolean_expression
THEN
statements
ELSIF
Boolean_expression
THEN
statements
END
END
The END declaration terminates an IF-THEN construction.
RETURN
The RETURN declaration gives the results of the Selector and Provider sections.
Selector
In a Selector section, the RETURN declaration provides the integer result used as a weight for the
policy. RETURN assigns a policy weight between 0-100, where 0 means do not use this policy, 1-99
means use this policy if no other policy returns a higher value, and 100 means use this policy. If no
RETURN declaration is made in a Selector section, a default value of 0 is returned.
A semicolon (;) is required to terminate the declaration. For example:
RETURN 49;
RETURN L2;
RETURN 39+7;
Provider
In a Provider section, the RETURN declaration provides the SEND or DONT_SEND result. If no
RETURN declaration is made, a default value of SEND is returned.
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:
Summary of Contents for EDIRECTORY 8.8 - GUIDE
Page 4: ...novdocx ENU 01 February 2006...
Page 16: ...16 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 68: ...68 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 90: ...90 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 116: ...116 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 128: ...128 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 184: ...184 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 249: ...250 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 307: ...308 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 333: ...334 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 371: ...372 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 439: ...440 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 519: ...520 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 529: ...530 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 555: ...556 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...