EGL Reference Guide for iSeries

goTo

The EGL goTo statement causes processing to continue at a specified label, which must be in the same function as the statement and outside of a block.



Syntax diagram for the goTo statement

label
A series of characters that are displayed elsewhere in the function, outside of any blocks, including these:

When displayed at the location where processing continues, the label is followed by colon. For details on valid characters for the label, see Naming conventions.


Related reference
Naming conventions


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]