Main About Download 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 valid input. It will loop while the 'age' variable is less than 1 or greater than 100.