Repeat / End Repeat

Sometimes you need to do the same thing several times, and you know in advance how many times that is. Repeat loops allow you to repeat the instructions inside the loop up to 65,535 times.

Repeat loops are done by using the repeat command at the beginning of the commands which you wish to repeat.  As part of the repeat command enter the number of times you wish the commands to be repeated. The repeat loop is closed by using the end repeat loop command placed at the end of the last command you wish to repeat..

Click here to return to programming toolbox page