Re: Online F77 information...
- From: Gordon Sande <g.sande@xxxxxxxxxxxxxxxx>
- Date: Sun, 29 Oct 2006 21:21:12 GMT
On 2006-10-29 17:02:58 -0400, "Terence" <tbwright@xxxxxxxxx> said:
"magesing" wroteI'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.
.
- Follow-Ups:
- Re: Online F77 information...
- From: glen herrmannsfeldt
- Re: Online F77 information...
- From: Terence
- Re: Online F77 information...
- References:
- Online F77 information...
- From: magesing
- Re: Online F77 information...
- From: Steven G. Kargl
- Re: Online F77 information...
- From: Terence
- Online F77 information...
- Prev by Date: Re: Online F77 information...
- Next by Date: Re: Online F77 information...
- Previous by thread: Re: Online F77 information...
- Next by thread: Re: Online F77 information...
- Index(es):
Relevant Pages
|
|