While

Name

While -- Iterates over expressions while a condition is true

Synopsis

While[boolean-expression, statement-list]

Description

While defines a block of statements to be executed repeatedly. See the section on control structures for complete information.

See also

For.