forlang.hlp (Table of Contents; Topic list)
END DO
                                             Up Contents Index Back
─────END DO─────────────────────────────────────────────────────────────────
 
     Action
 
     Terminates a DO or DO WHILE loop.
 
     Syntax
 
     END DO
 
     Remarks
 
     An END DO statement must match every DO or DO WHILE statement that
     does not contain a label reference.
 
     An END DO statement may terminate only one DO or DO WHILE statement.
 
     Examples
 
     The following examples produce the same output.
 
           DO ivar = 1, 10
              PRINT ivar
           END DO
 
           ivar = 0
           DO WHILE (ivar .LT. 10)
              ivar = ivar + 1
              PRINT ivar
           END DO
                                    -♦-