Free source form with Fortran 77 compilers
  Home FAQ Contact Sign in
comp.lang.fortran only
 
Advanced search
POPULAR GROUPS

more...

comp.lang.fortran Profile…
 Up
Free source form with Fortran 77 compilers         


Author: bru
Date: Jun 5, 2008 05:48

Hello,

Sorry if this question has been allready treated in this forum
group

In my opinion all the Fortran 77 compilers have the free and
fixed source form option!!

Looking at the pgf77 man I cannot find the free source option
It exists for pgf90 and pgf95 (-Mfree or -Mfixed)

How to use free source form with pgf77?

Regards

Bernard
6 Comments
Re: Free source form with Fortran 77 compilers         


Author: nospam
Date: Jun 5, 2008 09:48

bru wrote:
> In my opinion all the Fortran 77 compilers have the free and
> fixed source form option!!

Sorry, but that is factually wrong. There was no such thing as free
source form in standard f77. Some f77 compilers had a free source form
option as a compiler specific extension. For those compilers that had
such a thing, the details of the format accepted varied.

There were *MANY* f77 compilers that had no such option. The notion that
all of them had such a thing just isn't even close. I would rather
suspect, if one managed to list all f77 compilers ever made (a large
task that I won't try to undertake), the ones having such an option
would be in a minority. You have probably been exposed to a severely
limitted sample. (For a start, the ones made in later years had at least
a larger probability of supporting such a thing).

--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
no comments
Re: Free source form with Fortran 77 compilers         


Author: nospam
Date: Jun 8, 2008 09:36

Steve Lionel wrote:
> Richard Maine wrote:
>>
>> A free form of some sort or other was done quite a lot in later f77
>> compilers. For example VAX Fortran had one. That alone accounts for a
>> nontrivial fraction of f77.
>
> As a former developer on VAX Fortran, I would disagree with this. What
> you may be thinking of is what DEC called "tab source form", which was a
> slight variation on fixed-form that used a tab to separate the label
> field from the statement field, with continuation depending on whether a
> non-zero digit followed the tab. Other than that, it followed
> fixed-form source rules including ignoring blanks and a 72-column limit.

Yes, that's what I was referring to. I know it wasn't the f90 variant. I
think of it as simillar in that you didn't have to count columns (except
for the col 72 limit, but then that is less often an issue that col 7,
and even f90 has such a limit - its just larger).
Show full article (1.16Kb)
no comments
Re: Free source form with Fortran 77 compilers         


Author: Gary Scott
Date: Jun 8, 2008 18:07

Steve Lionel wrote:
> Richard Maine wrote:
>
>>
>> A free form of some sort or other was done quite a lot in later f77
>> compilers. For example VAX Fortran had one. That alone accounts for a
>> nontrivial fraction of f77...
Show full article (1.38Kb)
no comments
Re: Free source form with Fortran 77 compilers         


Author: Terence
Date: Jun 9, 2008 15:41

On Jun 9, 2:36 am, nos...@see.signature (Richard Maine) wrote:
> Steve Lionel wrote:
>> Richard Maine wrote:
>
>>> A free form of some sort or other was done quite a lot in later f77
>>> compilers. For example VAX Fortran had one. That alone accounts for a
>>> nontrivial fraction of f77.
>
>> As a former developer on VAX Fortran, I would disagree with this.  What
>> you may be thinking of is what DEC called "tab source form", which was a
>> slight variation on fixed-form that used a tab to separate the label
>> field from the statement field, with continuation depending on whether a
>>    non-zero digit followed the tab.  Other than that, it followed
>> fixed-form source rules including ignoring blanks and a 72-column limit.
>
> Yes, that's what I was referring to. I know it wasn't the f90 variant. I
> think of it as simillar in that you didn't have to count columns (except
> for the col 72 limit, but then that is less often an issue that col 7,
> and even f90 has such a limit - its just larger).
> ...
Show full article (1.63Kb)
no comments
Re: Free source form with Fortran 77 compilers         


Author: John Harper
Date: Jun 9, 2008 17:00

In article <341a9684-6718-4f76-9901-72749f798f0f@l17g2000pri.googlegroups.com>,
Terence cantv.net> wrote:
>On Jun 9, 2:36
no comments
Re: Free source form with Fortran 77 compilers         


Author: Gary Scott
Date: Jun 9, 2008 17:40

Terence wrote:
> On Jun 9, 2:36 am, nos...@see.signature (Richard Maine) wrote:
>
>>Steve Lionel wrote:
>>
>>>Richard Maine wrote:
>>
>>>>A free form of some sort or other was done quite...
Show full article (2.37Kb)
no comments