LOOPTO Conditional branch to label using looping |
Top Previous Next |
This script command directs execution back to [ label ] and is used in conjunction with LOOPCOUNT to execute a command or sequence of commands more than one time.
Consider the following example in which the variable file name is displayed three times (for no meaningful reason).
LOOPCOUNT 3 SET file name = "test file" :many_tries DISPLAY file name LOOPTO many_tries
Related Command(s): LOOPCOUNT, LOOPIF, GOTO, IFERROR
|