Fortran 90 finally gives official sanction to several extensions to FORTRAN77 that were often included in many vendors' F77 compilers anyway. These include the END DO statement to complete DO loops; IMPLICIT NONE to disable the implicit typing of variables based on the initial letters of variable names; and the INCLUDE statement to import source statements from another file.
PROGRAM graph
IMPLICIT NONE
INCLUDE '/usr/local/include/graphicsf.h'
INTEGER pixels(1000,1000)
...
DO
IF(test)EXIT
CALL X_draw(pixels)
END DO
END