Executes a sequence of commands a specified number of times. Format REPEAT language-expression DO (command[; . . . ])
1 – Parameters
language-expression Denotes any expression in the currently set language that evaluates to a positive integer. command Specifies a debugger command. If you specify more than one command, you must separate the commands with semicolons (;). At each execution, the debugger checks the syntax of any expressions in the commands and then evaluates them.
2 – Description
The REPEAT command is a simple form of the FOR command. The REPEAT command executes a sequence of commands repetitively a specified number of times, without providing the options for establishing count parameters that the FOR command does. Related commands: EXITLOOP FOR WHILE
3 – Example
DBG> REPEAT 10 DO (EXAMINE Y; STEP) This command line sets up a loop that issues a sequence of two commands (EXAMINE Y, then STEP) 10 times.