Purpose:A simpler way than DO or FOR to execute a counted loop.

 

Format:REPEAT n command ...

 

n - The number of times you want to repeat command.

 

Usage:

 

To run the command test 10 times:

 

repeat 10 testcommand

 

REPEAT sets the internal command variable _repeat to the current loop counter (1 to n).