LOOP-ON

Executes a specified command repeatedly.

Note

LOOP-ON is very aggressive and can be difficult to break out of. For a more system-friendly alternative, see DO which repeats a command once a second.

Command Class

Proc.

Syntax

LOOP-ON command

Syntax Elements

command is the name of the command.

Caution

Ensure that the BREAK key is enabled before invoking the LOOP-ON command.

Terminating the Command

The command is terminated by typing CTRL+BREAK which forces it into software debug.

Restriction

The command you specify cannot be a Proc as LOOP-ON itself is a Proc and the Proc processor cannot execute a Proc.

Example

:LOOP-ON LIST-ITEM-LOCKS

LIST-ITEM-LOCKS
PORT# LVL LOCK....  LOCK....  LOCK....  LOCK....  LOCK....  LOCK....  LOCK....
   30   0 636C3418
   33   0 F4F900CE
[973] 2 LOCKS LISTED
LIST-ITEM-LOCKS
PORT# LVL LOCK....  LOCK....  LOCK....  LOCK....  LOCK....  LOCK....  LOCK....
   30   0 636C3418
   33   0 F4F900CE
[973] 2 LOCKS LISTED
LIST-ITEM-LOCKS
PORT# LVL LOCK....  LOCK....  LOCK....  LOCK....  LOCK....  LOCK....  LOCK....
   30   0 6
V22
I 1313.AD
rdb->
: