[comp.lang.fortran] F77 "standard" extensions

belk@cernvax.UUCP (andrew belk) (08/31/90)

Hi Fellow Fortran-ners (not necessarily by choice ...),

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 "!")

I know that the IBM (VSFORT) and Cray (cft77) at CERN accept these.

Please mail as I don't read news regularly. If anyone's interested I'll post
the result later.

       Thanks,
		Andy Belk

khb@chiba.Eng.Sun.COM (Keith Bierman - SPD Advanced Languages) (08/31/90)

I tried responding directly, but the email bounced. If anyone knows
how to contact andy...

These are all very common extensions, and if memory serves work fine
on all three specific platforms you mentioned. Specifically...

    SUN accepts implicit undefined and implicit none and compiler option
    to accomplish implicit none globally.

    31 character variable names
    inline characters (f77v1.3 and beyond ... current FCS level if v1.3.1)

    DO ENDDO, and DO WHILE

As mentioned above, the current release level is v1.31. In earlier
versions the ! and some other VMSisms mandated a run through an additional
compiler step (f77cvt) but that has been eliminated.

If you have additional questions, feel free to bug
someone in your local Sun sales office. If they don't know ... they
should and it would force them to ask me and then I get to educate 'em ;>
They might even be persuaded to provide you with a copy of the docset
(Users Guide, Reference, Numerical Computation Guide)
--
----------------------------------------------------------------
Keith H. Bierman    kbierman@Eng.Sun.COM | khb@chiba.Eng.Sun.COM
SMI 2550 Garcia 12-33			 | (415 336 2648)   
    Mountain View, CA 94043