Visara Master Console Center Scripting Guide Manuel d'utilisateur Page 171

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 262
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 170
Chapter 5 Script Commands
Scripting Guide 171
REPEAT
Syntax:
REPEAT...UNTIL
REPEAT
Commands
UNTIL Expression
Description:
Repeats a sequence of commands until an expression evaluates to
TRUE.
Action:
The commands in the REPEAT block are repeatedly executed in
sequence until the expression evaluates to TRUE.
Parameters:
Expression. Boolean expression. The expression to evaluate that
determines whether or not to continue looping. Refer to Boolean on
page 50 for more information.
Returns:
N/A.
Notes:
1. The commands in the REPEAT block always execute at least once
because the expression is evaluated at the end of the loop.
2. The number of nested REPEATs is unlimited.
3. The number of commands allowed within the REPEAT block is
unlimited.
Example:
%Num := 1
REPEAT
INC %Num
UNTIL %Num > 10
See Also:
WHILE
Vue de la page 170
1 2 ... 166 167 168 169 170 171 172 173 174 175 176 ... 261 262

Commentaires sur ces manuels

Pas de commentaire