Coding fortran and mortran!

Eeezee

Diamond Member
Jul 23, 2005
9,922
0
76
Professor wants me to start using some legacy code to simulate electron collisions that they're working on downstairs. I don't know anything about fortran!
 

ProviaFan

Lifer
Mar 17, 2001
14,993
1
0
I used this book while learning Fortran in a first-year CS course; it's likely to be too much if you just need a brief introduction. I hope for your sanity that it's Fortran 90, not Fortran 77 (or god forbid, an even earlier version). There are numerous Fortran tutorials on Google as well.
 

EagleKeeper

Discussion Club Moderator<br>Elite Member
Staff member
Oct 30, 2000
42,589
5
0
Fortran 4 worked great for me for 10+ years.:p

F77 for another 15 years.
 

ProviaFan

Lifer
Mar 17, 2001
14,993
1
0
Originally posted by: EagleKeeper
Fortran 4 worked great for me for 10+ years.:p

F77 for another 15 years.
Heh. I was familiar enough with line numbers due to starting with the Advanced BASIC in the IBM PS/2 ROM many years ago, but the concept of starting lines of code on a particular column was a little annoying. Hey, at least it's not COBOL. ;)
 

gsellis

Diamond Member
Dec 4, 2003
6,061
0
0
It is an easy language, similar to BASIC in syntax. If you use any other language, you can sit with a programming guide and code it. No special magic characters required. Line numbers only required on Goto targets IIRC.

It was the first language I took classes for in 1979. WATFIV on IBM 360 baby (WATerloo Fortran IV). :p