LOOPCOUNT        Define loop counter

Top  Previous  Next

Syntax:

LOOPCOUNT

[ count ]

Arguments:

[ count ]

Numeric count value

Options:

none

 

 

 

This script command sets the number of times a command sequence is repeated. A command sequence is defined with the LOOPTO and LOOPIFcommands.

 

Consider the following example in which the message Wow! is transmitted three times.

 

LOOPCOUNT 3

:many_tries

LINEOUT "Wow!"

LOOPTO many_tries

 

Related Command(s): LOOPTO, LOOPIF, GOTO, IFERROR