while

Syntax

WHILE expression instruction

or:

WHILE expression {

instruction

instruction

...

}

Meaning

The instruction or instruction block is only carried out if the expression results in TRUE. The entire block is then repeated for as long as the expression remains TRUE.

See also

Conditional loops