- 2.2.9.11. -
Table of Contents
2. TMT Pascal Language Description
2.2. Pascal Language Structure
2.2.9. Statements
2.2.9.11. While Statement
2.2.9.11. While Statement
The While statement executes one or more statements in a loop.
while statements take the following form:
while expression do statement
where expression evaluates to a Boolean type. A while loop executes
until expression evaluates to False. when False, control is
transferred to the first statement outside the while loop.
- 2.2.9.11. -