8: Device Ports
SLC™ 8000 Advanced Console Manager User Guide
144
Control Flow Commands
The
control flow
commands allow conditional execution of blocks of other commands. The
preprocessor treats these as Primary commands, allowing them to appear anywhere in a script
that a Primary command is appropriate.
Table 8-19 Control Flow Commands
timestamp
This command returns the current time of day as determined by the
SLC
. The
timestamp
command will only be used in combination with the
set
command to
produce the value for a variable. Syntax:
timestamp <format>
where
<format>
is a quoted string.
format
The
format
command is analogous to the C language sprintf(). The
format
command will only be used in combination with the
set
command to produce the
value for a variable. Syntax:
format <format string> <value 1> <value 2> ... <value n>
where <format string> will be a quoted string. Each of the <value x> elements will be
a word, a quoted string or a variable reference.
Command
Description
while
The
while
command executes an associated block of commands as long as its
Boolean expression evaluates to TRUE. After each iteration the Boolean expression
is re-evaluated; when the Boolean expression evaluates to FALSE execution
passes to the first command following the associated block. Each command within
the block must be a Primary command. Syntax:
while {<Boolean expression>} {
command 1
command 2
...
command n
}
Command
Description
Содержание SLC 8000
Страница 1: ...Part Number 900 704 R Revision B October 2014 SLC 8000 Advanced Console Manager User Guide ...
Страница 86: ...7 Services SLC 8000 Advanced Console Manager User Guide 86 Figure 7 4 Services Secure Lantronix Network ...
Страница 173: ...10 Connections SLC 8000 Advanced Console Manager User Guide 173 To display global connections connect global show ...
Страница 214: ...11 User Authentication SLC 8000 Advanced Console Manager User Guide 214 Figure 11 11 User Authentication SSH Keys ...
Страница 221: ...11 User Authentication SLC 8000 Advanced Console Manager User Guide 221 Figure 11 13 User Authentication Custom Menus ...
Страница 248: ...12 Maintenance SLC 8000 Advanced Console Manager User Guide 248 Figure 12 12 About SLC ...