Visara Master Console Center Scripting Guide Uživatelský manuál Strana 171

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 262
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 170
1 2 ... 166 167 168 169 170 171 172 173 174 175 176 ... 261 262

Komentáře k této Příručce

Žádné komentáře