hit counter script

Using Logical And Relational Operators And Branch Commands; Boolean Logic And Relational Operators - Cisco 11503 - CSS Content Services Switch Administration Manual

Content services switch
Hide thumbs Also See for 11503 - CSS Content Services Switch:
Table of Contents

Advertisement

Chapter 8
Using the CSS Scripting Language
Using Logical and Relational Operators and Branch
Commands
Note

Boolean Logic and Relational Operators

OL-5647-02
To build structured command blocks, use the if and while branch commands. The
if command creates script branches based on the results of previous commands.
The while command is a looping mechanism. Both commands facilitate efficient
scripts with fewer repeated actions.
Use both these branch commands with the endbranch command, which indicates
to the CLI the end of a logical block of commands. Any branches created without
a terminating endbranch command produce a script logic error and possibly a
script syntax error. For information on script errors, see
Termination"
later in this chapter.
You can nest a maximum of 32 levels of branch commands.
You can use each of the following operators with an if, while, or modify
command.
The Boolean logic operators used with branch commands are:
AND - Logical AND
OR - Logical OR
The relational operators used with branch commands are:
GT - Greater than
LT - Less than
== - Equal to
NEQ - Not equal to
LTEQ - Less than or equal to
GTEQ - Greater than or equal to

Using Logical and Relational Operators and Branch Commands

Cisco Content Services Switch Administration Guide
"Syntax Errors and Script
8-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

11500 series

Table of Contents