Re: Online F77 information...



On 2006-10-29 17:02:58 -0400, "Terence" <tbwright@xxxxxxxxx> said:

"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.

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>

Why does Fxx need more compiler switches than Fyy? For any xx and yy!

I find that I can compile to a executable with

fxx prog.f

and then execute either

prog

or (heaven forbid!)

a.out

which seem a lot simple than your recipe which I expect still
has the execution step to go. What system requires the PAS1?
I have not seen a link since ye olde CP/M on a Z80. Or was
that OS/360 on a 360/50, but they had PROCs to hide all that.
It is pretty rare anymore for the compiler driver to not also
run the linker after the compiler. Usually you need switches
to get just a compile.



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.


.



Relevant Pages

  • Re: equivalence inside a derived type
    ... > compile using default settings of the Fortran 90 compiler I was using. ... The f77 standard allows mixed equivalencing of all of the standard ...
    (comp.lang.fortran)
  • Re: TRIM
    ... TRIM using only standard F77." ... "I am trying to compile a f77 code inside HadRat9. ... 1)The macro can be useful if the program already is written with many ...
    (comp.lang.fortran)
  • Re: Help from fellow Fortran Users
    ... > traditional scientific programming. ... Write absolutely everything else in some language X; ... compile the F77 with F2003 compilers to guarantee interoperability ...
    (comp.lang.fortran)
  • Re: How do you do this?
    ... SwiftForth, VFX, gForth, bigForth, iForth, tforth, win32Forth, ... ANS Forth is too powerful to execute from an untrusted source without ... So one could also compile the code with optimization ...
    (comp.lang.forth)
  • How do you do this?
    ... and read and execute each Forth word. ... So one could also compile the code with optimization ... executed by the worker system. ...
    (comp.lang.forth)