home *** CD-ROM | disk | FTP | other *** search
- .pg wi full clr cy
- COMMAND NAME»gray«: »%t« GotoLabel »ye«
-
- /GOTO {Label} [[{Default}] ASIS]
- /cw
- When a »%t«GotoLabel»#« command is encountered, »%t«DO»#« searches for
- »cy«{Label}»#« or »cy«{Default}»#«. When either »cy«{Label}»#« or the optional
- »cy«{Default}»#« is found, execution of the script resumes at that
- point.
-
- When the »ye«bottom of the script»#« is found before the label is
- found, »%t«DO»#« wraps to the top of the script. If either »cy«{Label}»#«
- or »cy«{Default}»#« is not found before the original line is
- encountered, an error message is displayed.
- .pg
-
- »wh«{Label}»#« The label to which to branch. Variables
- are expanded.
- »wh«{Default}»#« An optional Default label to which to
- branch. If this label is reached before
- »cy«{Label}»#« then program execution continues
- at that point.
- »wh«ASIS»#« Indicates that the labels are evaluated
- exactly as typed in upper and lower
- case. The default is to compare labels
- in upper case.
- /ENDEXEC