EGL provides a goTo statement solely for migration of older programs that use flow statements. Do not use this statement in new code. It violates structural programming principles and can cause errors that are difficult to trace.
You can use a goTo statement to leave a block of code, but not to go into a block of code from the outside.

| Platform | Issue |
|---|---|
| Java™ generation | The target label of a goTo statement must not be inside a block of code. The label must be at the top level of a function. |
| JavaScript generation | The goTo statement is not supported. |