Paxar Gold 6037EX Printer User Manual


 
ROM-DOS Internal Commands 4-37
GOTO
Batch File, Internal Command
The GOTO subcommand transfers control to another line of the batch file.
Syntax
GOTO label
Remarks
The
label
is another line in the batch file consisting of a string up to eight
characters long. The label may be an environment variable.
If the specified
label
is not found, then the batch file terminates with the
error message
Label not found.
Example
GOTO MESSAGE
This command moves the control of execution within the batch file to a
line that says
:MESSAGE
Note: A batch file label must be preceded by a colon (:).