beautypg.com

Avery Dennison 6037 Rev. AA 3/04 Programmer Manual User Manual

Page 79

background image

ROM-DOS Internal Commands 4-37

G O T O

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 (:).