HotkeyNet: the next generation
REFERENCE
break

Exits from a loop.

Syntax

break;

Remarks

break is used like in C.


Example

var x = 0;

while ( true )
{
    print ( x );

    x = x + 1;

    if ( x < 100 )
        continue;

    else
        break;

    print ( "This text will never print." );
}


Related topics

continue
while


This page was last revised on June 14, 2009
Copyright © 2009 HotkeyNet Software