ArcBasicDocs

Repeat

Starts a loop that runs until a condition.

Repeat ... Until condition | Forever

Parameters

None.

Description

Repeats some lines until a condition becomes true, checked after each time round, so they always run at least once. Ending with Forever instead repeats them without end; leave with Exit or End. Repeat ... Until KeyHit(KEY_ESCAPE) is a common game loop.

See also