Hex Editor - Binary File Editing Software for Windows
Download Hex Editor Neo Hide this button

while Statement

while statement has the following syntax:

statement-while:
while (expr)
    statement-block

Evaluates statements and declarations in statement-block until expr becomes false. If expression is false at the first iteration, no statements are evaluated.

var i = 10;
while (i)
{
    int a;
    i = i - 1;
}