Main About Download Schemes Documentation Resources

Do Shape

Default Appearance

What it Does

A Do Loop is similar to a While Loop except that the block of statements is executed at least once before the expression is checked.

Example

The example, to the right, shows a Do Statement that accepts only a valid age as input. It will loop while the 'age' variable is less than 0 or greater than 110.