User's Reference > General > TCL and General User Commands > Command Reference > L > LOOP-ON

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

LOOP-ON (TCL) (m604806+loopon.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

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->
:

RealityV15.1 (MoTW) Revision 7Comment on this topic