Main Help → All Commands → Language Reference → EndRepeat
The EndRepeat command increments the current repeat loop variable and goes back to the start of the loop or exits the loop if it is done.
EndRepeat