VMS Help
FORTRAN, Error Messages, Compilation Errors, INCDONEST

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

  SEVERITY:  F

  MESSAGE TEXT:  DO or IF statement incorrectly nested

  EXPLANATION:  One of the following conditions occurred:

   o  A statement label specified in a DO statement was used
      previously.  Example:

          10   I = I + 1
               J = J + 1
               DO 10 K=1,10

   o  A DO loop contains an incomplete DO loop or IF block.
      Examples:

        1.     DO 10 I=1,10
                   J = J + 1
                   DO 20 K=1,10
                       J = J + K
           10  CONTINUE

      The start of the incomplete IF block can be a block IF, ELSE
      IF, or ELSE statement.

        2.     DO 10 I=1,10
                   J = J + I
                   IF (J .GT. 20) THEN
                       J = J - 1
                   ELSE
                       J = J + 1
           10  CONTINUE
                   END IF
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.