Translations of this page?:

goto

Syntax:

    goto labelA;
    ...
    labelA:

The goto statement causes the current thread of execution to jump to the specified label. While the use of the goto statement is generally considered harmful, it can occasionally be useful. For example, it may be cleaner to use a goto to break out of a deeply-nested for loop, compared to the space and time that extra break logic would consume.

Related Topics: break

 
• • • IndexRecent changesRSScc