while (condition) statement;
statement is executed until condition is true.
You can also execute more than one statement inside the loop: simply enclose them between braces:
while (condition) {
statement1;
statement2;
}
This manual can be downloaded from http://www.g-cows.org/.