Revision 922f47979afd8bee43f6810c53146aa6d34b44ab authored by Brad King on 03 June 2014, 13:30:39 UTC, committed by Brad King on 03 June 2014, 13:30:39 UTC
2 parent s 910849d + 8da0a75
Raw File
while.rst
while
-----

Evaluate a group of commands while a condition is true

::

  while(condition)
    COMMAND1(ARGS ...)
    COMMAND2(ARGS ...)
    ...
  endwhile(condition)

All commands between while and the matching endwhile are recorded
without being invoked.  Once the endwhile is evaluated, the recorded
list of commands is invoked as long as the condition is true.  The
condition is evaluated using the same logic as the if command.
back to top