paragraph.repeat

Command/TCL, Releases: AP 6.1

restarts execution at the previous loop statement in a paragraph.

Syntax

repeat

Description

restarts paragraph execution at the line following the most recent 'loop' statement.

Note that paragraph will correctly handle a loop structure within another loop structure.

Example

paragraph
loop
time
if <<a,Quit (Y/N)?>> = y then go done
repeat
done:

This example will repeatedly print the time and ask the user if he/she whishes
to quit.

See Also

Command Name Type Description
paragraph.introduction Definition A macro langage allowing simple input and branching
paragraph.loop Command Indicates the beginning of a loop in a paragraph.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.