Re: Fortran 77 alphabet character $
- From: e p chandler <epc8@xxxxxxxx>
- Date: Thu, 29 May 2008 16:16:13 -0700 (PDT)
On May 29, 6:40 pm, har...@xxxxxxxxxxxxx (John Harper) wrote:
In article <1ihp0t1.1wwsw6bist6d2N%nos...@xxxxxxxxxxxxx>,
Richard Maine <nos...@xxxxxxxxxxxxx> wrote:
Herman D. Knoble <SkipKnobleL...@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.
Even better (in the scheme of lesser of evils) would be I_ as a
replacement for a leading $. That way all of these would default to
type INTEGER - removing the need for IMPLICIT INTEGER ($).
- e
.
- Follow-Ups:
- Re: Fortran 77 alphabet character $
- From: Terence
- Re: Fortran 77 alphabet character $
- References:
- Fortran 77 alphabet character $
- From: Herman D . Knoble
- Re: Fortran 77 alphabet character $
- From: Richard Maine
- Re: Fortran 77 alphabet character $
- From: John Harper
- Fortran 77 alphabet character $
- Prev by Date: Re: Fortran 77 alphabet character $
- Next by Date: Re: Fortran 77 alphabet character $
- Previous by thread: Re: Fortran 77 alphabet character $
- Next by thread: Re: Fortran 77 alphabet character $
- Index(es):
Relevant Pages
|
|