Syntax:
while (<expr>) {
<commands>
}
Execute a block of commands repeatedly so long as
expr
evaluates to
a non-zero value. This command cannot be mixed with old-style (un-bracketed)
if/else statements. See also do (p.
), continue (p.
), break (p.
).