Re: NEWBIE QUESTION



John Harper wrote:
>
> 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.

Good point, John. If I had been thinking I would have pointed that
out....
.



Relevant Pages

  • Re: Help requested troubleshooting code
    ... I suppose the reason why my program identifier contained a space as in prandtl meyer was because I had originally used prandtl_meyer and my compiler gfortran complained about the underscore, and I figured that it might have been an invalid character to use in the program statement. ... difference between fixed source form and this other form you prefer? ... about fixed source form, ... The simillar thing in free source form is that you can't go past ...
    (comp.lang.fortran)
  • Re: Converting fixed-to-free format
    ... It never did [trigger a message]. ... All would be the result of trying to parse the *crap* as ... Lines longer than 72 in fixed source form are common. ... Converting to free source form should be the first step. ...
    (comp.lang.fortran)
  • Re: Help requested troubleshooting code
    ... difference between fixed source form and this other form you prefer? ... about fixed source form, ... The simillar thing in free source form is that you can't go past ... So what do you do instead of the special columns of fixed source form? ...
    (comp.lang.fortran)
  • Re: Help requested troubleshooting code
    ... difference between fixed source form and this other form you prefer? ... about fixed source form, ... The simillar thing in free source form is that you can't go past ... So what do you do instead of the special columns of fixed source form? ...
    (comp.lang.fortran)
  • Re: Converting fixed-to-free format
    ... CONVERTING FIXED-TO-FREE FORMAT. ... "Anyone who wants to take the advantages of free source form ... Fixed source form is inherently an error-prone form ...
    (comp.lang.fortran)