While
Prev
Chapter 6. Control Structures
Next
While
The two ways of writing a while statement are:
while(test) { code; };
while(test) code; end;