| DO
The DO command provides some DO-loop capabilities that are useful for repeated calculations. For example: DO #=1,20,2 The value of the DO character is substituted in all statements in the loop. Any special character (eg. #, ?, %, $, !) other than letters or numbers may be used for the DO character. Be sure to end the DO loop with the ENDO statement. DO-loops can be nested up to 18 levels. Values are available in the temporary variables $DO, $DO2 - $DO18. Type HELP ENDO and HELP ENDIF for more information. |