next up previous contents index
Next: dowhile Up: Control Structures Previous: repeat   Contents   Index

while

while expression
statements
end

On each pass through the loop, if expression evaluates nonzero, execute statements, otherwise exit the loop.



Stephen R. Whiteley 2024-09-29