[comp.lang.fortran] F77 "standard" extensions, also INCLUDE statement

fwebb@bbn.com (Fred Webb) (09/04/90)

In article <2526@cernvax.UUCP> belk@cernvax.UUCP (andrew belk) writes:
>
>I would simply like to know if anyone has any information on the standard
>Fortran compilers supplied for machines such as Sun, Apollo, DecStation,
>and any other well-known workstations as regards extensions to F77.
>
>Specifically, will they accept a program containing IMPLICIT NONE
>(or equivalent IMPLICIT UNDEFINED A-Z),
>DO [WHILE] .. END DO
>Long variable names (e.g. 31 chars)
>Inline comments (using "!")
>

There's a DOD standard, MIL-STD-1753, which REQUIRES certain features
in any Fortran compiler sold to the DOD. Some of the things required are:

    - DO [label [,]] WHILE logical expression
		ended by END DO, labeled if the DO WHILE is
    - END DO - both for normal DO loops and DO WHILE
		an END DO for a normal DO must be labeled
    - INCLUDE filename - the syntax for filename is implementation dependant
    - IMPLICIT NONE

(There's a bunch of other stuff, also, but these are relevant to the
 current conversation.)

Any manufacturer who wants to sell to DOD has to provide at least
these. Thus, even "portable" Fortran programs can probably safely
use them.

					-- Fred