Repeat

Execute the script the number of times specified by numberTimes, or until an error occurs, or until the break command is executed.

Syntax:

repeat  numberTimes {script}

Examples:

Example 1

The following script creates six graph windows from the TERNARY.OTP template with enumerated titles.

repeat 6 { win -t plot ternary; }