Re: F77 for Visual Studio 2005?



Terence <tbwright@xxxxxxxxx> wrote:

There'e nothing wrong or illegal about using F77 syntax with F90 or
F95 compilers.
However, there are one or two very minor things to watch for,
including the interpretation of the parameter LRECL in open statments
(usually an option switch for 1 or 4 byte units;

That isn't an f77 versus f90 issue. That's a portability problem in f77
itself. Different f77 compilers used different units of measure
(sometimes for good reasons, add as the standard allowed them to do).
Switching from one f77 compiler to another required checking into
that... just as it does when one of the "f77" compilers is also an f90
one. F90 does provide a way to handle that more portably, but that is an
f90 feature, so f77 code won't have it.

the prohibition of END= on a write statement

That's not f77 at all. That's just plain a nonstandard feature.

--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.



Relevant Pages

  • Re: Is it time to legitimise REAL*8 etc?
    ... But you appear to be assuming that such a rewrite is involved ... I use modern compilers such as ... criterion for f90 was to make sure that this would not be so. ... but they were already in f77, ...
    (comp.lang.fortran)
  • Re: Is it time to legitimise REAL*8 etc?
    ... But you appear to be assuming that such a rewrite is involved ... I use modern compilers such as ... criterion for f90 was to make sure that this would not be so. ... but they were already in f77, ...
    (comp.lang.fortran)
  • Re: Fortran 77 vs Fortran 90/95
    ... Most f77 compilers today are also f90 compilers, so there is no distinction. ... F90 includes a lot of the extensions to f77 that were such widely adopted extensions to f77 that many people think of them as f77. ...
    (comp.lang.fortran)
  • Re: Fortran 77 vs Fortran 90/95
    ... I think it is worth noting that commercial compilers that are f77-only ... f77 compilers, f77 being a subset of f90), so there is no distinction. ... There are some newish features that have more questionable stability ...
    (comp.lang.fortran)
  • Re: Is it time to legitimise REAL*8 etc?
    ... Some vendors phased out their F77 compilers over 10 ... No need to support a seperate F77 compiler as, ... experience with F77) that the F95 programming is safer than the F77 ... Authors are not chosing more recent Fortran ...
    (comp.lang.fortran)