HotkeyNet: the next generation
REFERENCE
while

Creates a loop.

Syntax

while ( expression )
   ... ;

or

while ( expression )
{
    ...
}

Remarks

While is used like in C.


Example

var x = 0;

while ( x < 100 )
{
    print ( x );

    x = x + 1;
}


Related topics

break
continue
for


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