Re: Fortran 77 alphabet character $



In article <1ihp0t1.1wwsw6bist6d2N%nospam@xxxxxxxxxxxxx>,
Richard Maine <nospam@xxxxxxxxxxxxx> wrote:
Herman D. Knoble <SkipKnobleLESS@xxxxxxxxxxxxxxx> wrote:

What does the F77 Standard say about using the character, $ for the
beginning of a variable name?

Nobody seems yet to have actually answered this question. The f77
standard (and all other versions of the standard) doesn't allow it.

I'm afraid I don't have any brilliant suggestions about how to fix such
nonstandard code.

Because f95 allows longer names than f77, if the underscore wasn't in
the professor's character set, you could compile with f95 by changing
the offending $ into D_ at the cost of
(a) continuation lines wherever the code now went past space 72,
or (b) changing to free source form, which IMHO would need more work.

-- John Harper, School of Mathematics, Statistics and Computer Science,
Victoria University, PO Box 600, Wellington 6140, New Zealand
e-mail john.harper@xxxxxxxxx phone (+64)(4)463 6780 fax (+64)(4)463 5045
.



Relevant Pages