while

Marks a block of statements to be executed while a condition is true

Syntax

while(x)

Returns

Nothing

Parameters

x (boolean)
true or false statement