GOTO        Non-conditional branch to script file label

Top  Previous  Next

Syntax:

GOTO

[ label ]

Arguments:

[ label ]

A valid label within the current script file.

Options:

None


 

 

This command directs the flow of execution within a script file to the specified label. Even though script file labels begin with a colon, the colon is omitted in the GOTO (and other branching) commands. For example:

 

SETNUM download_count = 000

:loop

RCVFILE "*" /delete

INC download_count

DASHBOARDMSG "Downloads attempted: " + download_count

GOTO loop

 

 

See also: Labels In Script Files