Lugaru's Epsilon
Programmer's
Editor 14.04

Context:
Epsilon User's Manual and Reference
   Epsilon Extension Language
      . . .
      Initialization
      Statements
         . . .
         Save_var Statements
         On_exit Statements
         Goto and Empty Statements
         Block
      Conversions
      . . .

Previous   Up    Next
On_exit Statements  Epsilon Extension Language   Block


Epsilon User's Manual and Reference > Epsilon Extension Language > Statements >

Goto and Empty Statements

goto label;


label: statement

The next statement executed after the goto will be the one following the label. It must appear in the same function as the goto, but may be before or after.

;

This null statement is occasionally used in looping statements, where all the "work" of the loop is done by the expressions. For example, a loop that calls a function foo() repeatedly until it returns zero can be written as

while (foo()) ;.



Previous   Up    Next
On_exit Statements  Epsilon Extension Language   Block


Lugaru Epsilon Programmer's Editor 14.04 manual. Copyright (C) 1984, 2021 by Lugaru Software Ltd. All rights reserved.