ENDDO

ENDDO is used to close DO loops.

ENDDO ;

Usage

ENDDO takes no arguments. Every DO statement must have an associated ENDDO statement somewhere following it in the program. The ENDDO statement always applies to the last DO which was encountered so that DO loops may be nested to any level.

ENDD or END DO are synonyms for ENDDO.