swirl
Guide to OmniMark 9   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
 
 
 

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

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:51:21 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.