Define a condition for repeated execution of a script and specify the script to be run if the condition is true or if it is false. The condition must be a simple logical expression involving named constants. The script should be designed to insure that the condition eventually becomes false. This dialog is primarily intended for the creation of scripts that will be executed at a later time.
When this menu item is chosen, the following dialog appears:

You enter a named constant in the WHILE box and the name of a script to be executed until the expression evaluates as false (0). The value of the named constant should be modified in the script in such a way that its value becomes false (zero). By default the DO command will be executed up to 100 times.
The Show menu is used to display a list-box giving the constant names or a list of logical operators that can be used in defining the IF condition.

Related script commands