Function:
Exits out of the current For/Next loop.
Syntax:
Break <loop-variable>
Example:
for varCounter=%%TagStartCount%% to %%TagEndCount%%
UpdateForm
sleep 1000
if %%Canceling%%=true then
break varCounter
endif
next varCounter
Notes:
Please see Example 68.
In the example from above (part of script 68), if the user clicks the Cancel button the %%canceling%% variable is set to true and then as part of the IF/Endif statement the Break is executed.