Loop
Loop is a utility function to allow the user to do multiple iterations of a command. Loop leverages the variable $ which represents the loop control variable. Loop will start at the first number and run until it equals the second number filling in the $ with that number. There is a maximum of 500 iterations. Syntax: loop <begin_index> <end_index> <command> For example: loop 1 2 say $ will result in: You say '1' You say '2'
A good example of the usefulness of loops can be found under the track skill.