| logto | Index Level | loop-on |
| Syntax | loop {loop.count} {\sleep.count\} TCL.command |
| Category | TCL |
| Type | Verb |
| 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. |
| Options | |
| See Also | loop-on loop-on (R83) |
| 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. |
| Warnings | |
| Compatibility | D3 7.0 AP |
| logto | Index Level | loop-on |