Re: Online F77 information...



Terence wrote:

"magesing" wrote

I'm teaching myself FORTRAN 77,


If you have an F77 compiler stay with learning F77.
F90 is far too complicated to start with.

If you have an F77 compiler only, I agree. However, I recommend that you begin by learning a good subset of F95 and avoid bad habits. There is a teaching language called "F". Get it at http://www.fortran.com




Also the F77 compilers are extremely simple to compile and link to get
a working program or list of errors. No switches are needed. e.g: MS
F77:
FOR1 myprogram <ret>
PAS1 <ret>
LINK myprogram <ret>

But you MUST have a manual and a list of run-time error codes for the
compiler used; you will learn a lot from mistakes.

Anything can be programmed in F77, and it is far easier to read and
understand than F90 or F95 code.

F77 code is simple and clear, and you can progress form simple
line-by-line instructions to the use of the following very useful
technique which avoids using too many numbered statements.
IF something THEN
some code
ELSE
some other code
ENDIF

If later you are going to enter programming Fortran as a profession you
can then learn what F90 or F95 require.



--

Gary Scott
mailto:garylscott@sbcglobal dot net

Fortran Library: http://www.fortranlib.com

Support the Original G95 Project: http://www.g95.org
-OR-
Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html

Why are there two? God only knows.


If you want to do the impossible, don't hire an expert because he knows it can't be done.

-- Henry Ford
.



Relevant Pages

  • Re: Online F77 information...
    ... If you have an F77 compiler stay with learning F77. ... F90 is far too complicated to start with. ... understand than F90 or F95 code. ...
    (comp.lang.fortran)
  • Re: Refactorings for Fortran and HighPerformance
    ... For old f77 code, ... compiler to produce as fast code as a f77 compiler would (note that, ... f77 code is perfectly valid f90). ...
    (comp.lang.fortran)
  • Re: Fortran 77 vs Fortran 90/95
    ... I think it is worth noting that commercial compilers that are f77-only pretty much don't exist today. ... compilers are also f77 compilers, f77 being a subset of f90), 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: end-of-file during read using unformatted reading
    ... So I assumed an F90 capability limit. ... with only F77 and F90 source code. ... you can change some very minor options with later new OPENs on ... If you get F77 code wrong you know it fast! ...
    (comp.lang.fortran)
  • Re: Random numbers - Intel IFC linux
    ... My guess is that if you had really looked at this as an f77 ... in f90, you'd have found the bug yourself. ... Free source form is far less error prone ... quite confusing error messages. ...
    (comp.lang.fortran)