Exit Repeat Control Statement
Syntax: exit repeat
The exit repeat control statement leaves the current loop structure immediately, skipping the remaining commands and statements in the loop structure. The script continues to be executed starting at the first statement after the next end repeat statement.
To see how exit repeat works, create a button and add the following handler to its script:
repeat with i = 1 to 5
if i = 3 then exit repeat
end repeat end mouseUp
This text has been mechanically extracted from the Oracle Media Objects 18.104.22.168 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.