Right, so I’m editing someone else’s Fortran program to get it to do what I’d like (big mistake, I know, but hey, it beats having to write the thing from scratch!), and I’m having a minor problem with one of the format statements. The statement is:
Now, I understand what each bit means, but my compiler does not like the “$” bit at all. Anyone got any ideas as to what’s going on? I’m using an f95 compiler on Redhat.
I used to use emacs for everything! Mail, newreader, editing, the works, I did a lot of perl and sql at that time. Then they took my trusty old SPARC 10 away and stuck me with this Dell :eek: and Win2k :rolleyes: now I use TextPad for writing/editing, mostly TCL and MQL with a little SQL on the side.
Not in the sciences. Fortran is still very common. There are efficient Fortran compilers for number crunching, and there are still lots of professors who only know Fortran themselves, so that’s the codes their students use.
I’m not 100% sure, but I’m pretty sure that $ is not standard Fortran. I would guess it’s probably an extension for a particular compiler. I’ve never seen it before, and I’ve seen a lot of Fortran.
Hehe Yeah, FORTRAN is still used extensively in the sciences, and this was a program given to me by our head of group that he’d written a few years ago, to try and hack into some sort of fit state to extract densities from a model spectrum. (Don’t ask).