While

Name

 * while

Description
while loops repeat continuously until the expression inside the parenthesis becomes false. Something must change the value of the expression inside the parenthesis or the while loop will never exit. This could be in the code within the loop, such as an incrementing a variable, or an external condition, such as testing a sensor. If the expression inside the parenthesis is false to begin with the statements within the loop will never be executed.
 * Since:

Syntax
while(expression){ // statement(s) }


 * (expression): a boolean statement that evaluates to true or false