WAN Traffic Manager
303
no
vd
ocx (
E
NU)
01
F
ebr
ua
ry
200
6
PROVIDER
RETURN SEND;
END
For more information on writing declarations, see
“Construction Used within Policy Sections” on
page 303
.
11.3.4 Construction Used within Policy Sections
The following statements and constructions can be used, except as noted, in the Selector and
Provider sections of a WAN policy. For more information on how to construct the Declaration
section of a policy, see
“Declaration Section” on page 300
.
Comments
Comments can be indicated by using /* at the beginning of the line and */ at the end. For example:
/* This is a comment. */
Comments can also be distinguished by // at the end of the line before a comment. For example:
IF L2 > L3 THEN //This is a comment.
IF-THEN Statement
IF-THEN statements are used to run a block of declarations conditionally.
Examples:
IF
Boolean_expression
THEN
declarations
END
IF
Boolean_expression
THEN
declarations
ELSE
declarations
END
IF
Boolean_expression
THEN
declarations
ELSIF
Boolean_expression
THEN
declarations
END
IF
Boolean_Expression
THEN
This is the first clause in an IF-THEN statement. The Boolean expression is evaluated for a TRUE
or FALSE result. If it is TRUE, the declarations that immediately follow are run. If it is FALSE,
execution jumps to the next corresponding ELSE, ELSIF, or END declaration.
ELSE
This declaration marks the beginning of declarations that run if all corresponding preceding IF-
THEN and ELSIF statements result in FALSE. For example:
IF
Boolean_expression
THEN
statements
ELSIF
Boolean_expression
THEN
statements
ELSIF
Boolean_expression
THEN
statements
ELSE
statements
END
Содержание 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...