swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax    
control structure  

repeat to

 
 

Syntax

repeat to integer-expression
   actions
(by numeric expression)?
again


Purpose

You can repeat a set of actions a specified number of times using a repeat to loop. The loop will repeat the number of times specified by the integer expression following the to clause:

  repeat to hit-count * 3
     ...
  again

Note that there is no control variable in a repeat to loop. If you need a control variable, use a repeat for loop.

In all other respects, a repeat to loop behaves exactly like a regular repeat loop.

    Related Syntax
   repeat, again, exit
   repeat for
 
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:33:48 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.