tcl.loop Verb: Access/TCL

tcl.loop

Command tcl.loop Verb: Access/TCL
Applicable release versions: AP
Category TCL (746)
Description performs any TCL command a specific number of times, or continuously, until any key is pressed on the keyboard.

The "loop.count" indicates the number of times to execute the command. If "loop.count" is omitted, the loop is infinite. To stop the loop, press any key on the keyboard.

The "sleep.count" indicates the number of seconds for the process to "sleep" between each command execution. If "sleep.count" is not specified, the command repeats immediately.
Syntax loop {loop.count} {sleep.count} TCL.command
Options
Example
loop 3 5 ovf
ovf

overflow: 34860  reserve: 1024  blocks: 7  b-tree levels: 1  leaves: 1
ovf

overflow: 34924  reserve: 1024  blocks: 34  b-tree levels: 1  leaves: 1
ovf

overflow: 34909  reserve: 1024  blocks: 17  b-tree levels: 1  leaves: 1

This executes the "ovf" command 3 times, sleeping 10 seconds between 
each execution.
Purpose
Related tcl.loop-on
tcl.loop-on_rp