Re: NEWBIE QUESTION
- From: harper@xxxxxxxxxxxxx (John Harper)
- Date: 29 Sep 2005 12:12:38 +1200
In article <433B1C69.21F1152@xxxxxxxxxxxx>,
Duane Bozarth <dp_bozarth@xxxxxxxxxxxx> wrote:
>richard symonds wrote:
>> ...For example, today I
>> realized that a "C" in column 1 is not recognized as a comment in F90.
>
>That's not <quite> correct--it isn't exactly F90, it's free source form
>as opposed to fixed source form although free source form was introduced
>in F90. You can write F90/95-compliant Fortran in traditional fixed
>format source form. (Although I think the free source form is much more
>readable in general).
True. But Richard may not yet know that some compilers assume a program
name ending .f is in fixed source form, but in .f90 is free source form.
Some compilers have options like -free or -fixed for specifying it.
But that is a matter explained in a particular compiler's documentation;
it's not part of Fortran itself.
Comp.lang.fortran is also a good place for asking about particular
compilers and operating systems, though if you think you have found a
bug in a compiler it's a good idea to raise it first with your local
Fortran expert, if any, then with the compiler vendor. If it's not
clear whether it really is a bug, many people ask here. I have done
that more than once, and the answers have helped a lot. Several c.l.f
contributors are real experts, like standard-editors and compiler-
writers, and they often explain things much more clearly than the f95
standard does. It gets really interesting when they disagree:-)
John Harper, School of Mathematics, Statistics and Computer Science,
Victoria University, PO Box 600, Wellington, New Zealand
e-mail john.harper@xxxxxxxxx phone (+64)(4)463 5341 fax (+64)(4)463 5045
.
- Follow-Ups:
- Re: NEWBIE QUESTION
- From: Rich
- Re: NEWBIE QUESTION
- From: Duane Bozarth
- Re: NEWBIE QUESTION
- References:
- NEWBIE QUESTION
- From: richard symonds
- Re: NEWBIE QUESTION
- From: Duane Bozarth
- NEWBIE QUESTION
- Prev by Date: Re: NEWBIE QUESTION
- Next by Date: Re: Intel Fortran license?
- Previous by thread: Re: NEWBIE QUESTION
- Next by thread: Re: NEWBIE QUESTION
- Index(es):
Relevant Pages
|
|