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:

  • if

  • else

  • when (in a case statement)

  • while

  • try

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