The GOTO command is used to provide a simple loop mechanism within scripts. A label must start with a colon (:) followed by the label name. The label name can be a maximum of 10 characters:
:label-name
The GOTO command takes the following format:
GOTO label-name
where label-name specifies a label defined elsewhere in the same script.
The label identified by label-name can occur before or after the GOTO command. A maximum of 10 labels can appear within a script. If the label specified in the GOTO does not exist in the script, an error occurs.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|