Skips all commands until it encounters the associated label.
GOTO "Label"; <SKIPPED COMMANDS> :Label ; <COMMANDS OR EOF>
"Label" | A string of characters; not case-sensitive. |
:Label | Target location, preceded by a colon (:) and associated with "Label". Processing skips to this label. |
This command provides unconditional branching. This means that branching occurs regardless of the success or failure of previous commands.
Commands that follow :Label
can implement error
handling or stop processing. Processing skips all
subsequent commands and moves to the associated label,
where it resumes. Processing ignores even the EXIT
command if it precedes :Label
.
If EOF occurs before :Label is found, processing terminates.
BUILDDIM 2 "NEWGENS.RUL" 2 "NEWGENS.TXT" 4 "REJREC.ERR"; GOTO "NEWTARGET"; /* Forced branch */ LOADDATA 2 "JANACT.TXT"; /* Skip LOADDATA */ :NEWTARGET; /* Move here */ EXIT; /* and exit */
©2004 Hyperion Solutions Corporation. All Rights Reserved. http://www.hyperion.com |