swirl
Guide to OmniMark 7   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 ] [ LEGACYLIBRARIES ] [ ERRORS ]

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:43 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.