Visara Master Console Center Scripting Guide Manual de usuario Pagina 210

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 262
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 209
Chapter 5 Script Commands
Scripting Guide 210
WHILE
Syntax:
WHILE...ENDWHILE
WHILE Expression
Commands
ENDWHILE
Description:
Repeats a sequence of commands while an expression evaluates to
TRUE.
Action:
The commands in the WHILE block are continually executed in
sequence while the expression evaluates to TRUE.
Parameters:
Expression Boolean expression. The expression to evaluate that
determines whether to continue looping. Refer also to Boolean on page
50.
Returns:
N/A.
Notes:
1. The commands in the WHILE block may never execute because the
expression is evaluated at the beginning of the loop.
2. The number of nested WHILEs is unlimited.
3. The number of commands allowed within the WHILE block is
unlimited.
Example:
%Num := 1
WHILE %Num < 10
INC %Num
ENDWHILE
See Also:
REPEAT
Vista de pagina 209
1 2 ... 205 206 207 208 209 210 211 212 213 214 215 ... 261 262

Comentarios a estos manuales

Sin comentarios