GOTO        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 [ label ]. Even though script file labels begin with a colon, the colon is omitted in the GOTO (and other branching) commands. For example:

 

:loop

GOTO loop

 

See also: Labels In Script Files