swirl Guide to OmniMark 6   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
  Related Syntax    
control structure   repeat to    

Syntax

  repeat to integer-expression
  (by numeric expression)?
     actions
  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 ] [ OMX ] [ ERRORS ]

OmniMark 6.5 Documentation Generated: December 23, 2002 at 6:25:37 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-2002.