Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #516

Re: fortran 77 errors

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!newsfeed.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From blmblm@myrealbox.com <blmblm.myrealbox@gmail.com>
Newsgroups comp.programming
Subject Re: fortran 77 errors
Date 23 Jun 2011 17:32:10 GMT
Organization None
Lines 41
Message-ID <96hbkqF7dvU2@mid.individual.net> (permalink)
References <4e025412$0$1945$bbae4d71@news.suddenlink.net> <4e034cda$0$6432$a729d347@news.telepac.pt> <97adnZk4b6wCxJ7TnZ2dnUVZ_tidnZ2d@earthlink.com> <upn607pod3lim761db8b7e9p614j97htl1@4ax.com>
X-Trace individual.net QxeTgfqshDgLBtozTSWemwMZAEzWYBsUGfAWDXFxWWdEfNYBvH
X-Orig-Path not-for-mail
Cancel-Lock sha1:O3UVZXFDw1Ua+n6f0xmkVpel13A=
X-Newsreader trn 4.0-test76 (Apr 2, 2001)
Xref x330-a1.tempe.blueboxinc.net comp.programming:516

Show key headers only | View raw


In article <upn607pod3lim761db8b7e9p614j97htl1@4ax.com>,
Geoff  <geoff@invalid.invalid> wrote:
> On Thu, 23 Jun 2011 08:19:49 -0700, Patricia Shanahan <pats@acm.org>
> wrote:
> 
> >On 6/23/2011 7:22 AM, Rui Maciel wrote:
> >> Patricia Shanahan wrote:

[ snip ]

> >To be a bit more precise, I meant "I think Geoff may have confused the
> >Fortran statement label rules with the Basic line numbering rules". I
> >agree that otherwise the posted code looks more like an attempt at
> >Fortran than Basic.
> >
> 
> The code was copied from Bill's original post and edited with emacs
> which enforced its own rules on formatting. I added the line numbers
> because I remembered we had them back in the dim days of college. The
> system was an Interdata model 4 and the Fortran was non-standard for
> the era. It predated Fortran 77 and was not strict about formatting
> output. I wasn't doing any BASIC programming until 1978 or so, on a
> TRS-80 for fun.
> 
> FWIW, the code I posted compiles and runs on OS X with gfortran 4.2.1
> build 5664.
> 

For what it's worth, Fortran 77 supports both statement labels
*and* line numbers -- the latter being positioned after column 72 
and ignored by the compiler.  Line numbers were useful back in
the punched-card days; diligently numbering all the lines of one's
program meant that if one dropped the card deck containing the source
code, one could put the cards back in order using a card-sorting
machine on the columns (73-80) containing the line numbers.

Ah, the not-always-good old days!

-- 
B. L. Massingill
ObDisclaimer:  I don't speak for my employers; they return the favor.

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

fortran 77 errors "Bill Cunningham" <nospam@nspam.invalid> - 2011-06-22 16:43 -0400
  Re: fortran 77 errors James Waldby <not@valid.invalid> - 2011-06-22 21:18 +0000
    Re: fortran 77 errors "Bill Cunningham" <nospam@nspam.invalid> - 2011-06-22 18:31 -0400
      Re: fortran 77 errors Patricia Shanahan <pats@acm.org> - 2011-06-22 17:21 -0700
        Re: fortran 77 errors "Bill Cunningham" <nospam@nspam.invalid> - 2011-06-22 20:50 -0400
          Re: fortran 77 errors Ian Collins <ian-news@hotmail.com> - 2011-06-23 14:58 +1200
            Re: fortran 77 errors "Bill Cunningham" <nospam@nspam.invalid> - 2011-06-23 00:27 -0400
              Re: fortran 77 errors blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-06-23 17:07 +0000
                Re: fortran 77 errors "Bill Cunningham" <nospam@nspam.invalid> - 2011-06-23 16:53 -0400
                Re: fortran 77 errors Patricia Shanahan <pats@acm.org> - 2011-06-23 14:05 -0700
                Re: fortran 77 errors "Bill Cunningham" <nospam@nspam.invalid> - 2011-06-24 17:58 -0400
                Re: fortran 77 errors "robin" <robin51@dodo.mapson.com.au> - 2011-06-27 17:04 +1000
          Re: fortran 77 errors Patricia Shanahan <pats@acm.org> - 2011-06-23 12:34 -0700
        Re: fortran 77 errors blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-06-23 17:06 +0000
        Re: fortran 77 errors "robin" <robin51@dodo.mapson.com.au> - 2011-06-27 17:01 +1000
          Re: fortran 77 errors Patricia Shanahan <pats@acm.org> - 2011-06-28 06:39 -0700
  Re: fortran 77 errors free@securityaudit.val.newsbank.net (Dick Wesseling) - 2011-06-23 00:43 +0000
    Re: fortran 77 errors "Ant" <not@home.today> - 2011-06-23 02:38 +0100
    Re: fortran 77 errors "robin" <robin51@dodo.mapson.com.au> - 2011-06-27 17:07 +1000
  Re: fortran 77 errors Geoff <geoff@invalid.invalid> - 2011-06-23 00:47 -0700
    Re: fortran 77 errors Geoff <geoff@invalid.invalid> - 2011-06-23 00:55 -0700
      Re: fortran 77 errors "Bill Cunningham" <nospam@nspam.invalid> - 2011-06-23 04:16 -0400
        Re: fortran 77 errors Ike Naar <ike@sverige.freeshell.org> - 2011-06-23 09:23 +0000
          Re: fortran 77 errors Patricia Shanahan <pats@acm.org> - 2011-06-23 06:55 -0700
            Re: fortran 77 errors Patricia Shanahan <pats@acm.org> - 2011-06-23 07:02 -0700
            Re: fortran 77 errors Rui Maciel <rui.maciel@gmail.com> - 2011-06-23 15:22 +0100
              Re: fortran 77 errors Patricia Shanahan <pats@acm.org> - 2011-06-23 08:19 -0700
                Re: fortran 77 errors Geoff <geoff@invalid.invalid> - 2011-06-23 08:52 -0700
                Re: fortran 77 errors blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-06-23 17:32 +0000
                Re: fortran 77 errors Ben Bacarisse <ben.usenet@bsb.me.uk> - 2011-06-23 22:39 +0100
                Re: fortran 77 errors blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-06-24 20:08 +0000
                Re: fortran 77 errors Rui Maciel <rui.maciel@gmail.com> - 2011-06-23 19:38 +0100
              Re: fortran 77 errors "osmium" <r124c4u102@comcast.net> - 2011-06-23 10:25 -0500
                Re: fortran 77 errors Patricia Shanahan <pats@acm.org> - 2011-06-23 09:47 -0700
                Re: fortran 77 errors blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-06-23 17:30 +0000
                Re: fortran 77 errors "Bill Cunningham" <nospam@nspam.invalid> - 2011-06-23 17:30 -0400
                Re: fortran 77 errors Dan <dantex1@aol.com> - 2011-06-25 10:10 -0700
                Re: fortran 77 errors "Bill Cunningham" <nospam@nspam.invalid> - 2011-06-28 11:21 -0400
                Re: fortran 77 errors Patricia Shanahan <pats@acm.org> - 2011-06-28 09:40 -0700
                Re: fortran 77 errors "Bill Cunningham" <nospam@nspam.invalid> - 2011-06-28 17:59 -0400
                Re: fortran 77 errors Patricia Shanahan <pats@acm.org> - 2011-06-28 15:21 -0700
              Re: fortran 77 errors "robin" <robin51@dodo.mapson.com.au> - 2011-06-28 00:43 +1000
                Re: fortran 77 errors Rui Maciel <rui.maciel@gmail.com> - 2011-06-28 11:40 +0100
                Re: fortran 77 errors "robin" <robin51@dodo.com.au> - 2011-07-05 09:06 +1000
          Re: fortran 77 errors "robin" <robin51@dodo.mapson.com.au> - 2011-06-28 00:41 +1000
        Re: fortran 77 errors Rui Maciel <rui.maciel@gmail.com> - 2011-06-23 12:12 +0100
        Re: fortran 77 errors Geoff <geoff@invalid.invalid> - 2011-06-23 06:52 -0700
          Re: fortran 77 errors "Bill Cunningham" <nospam@nspam.invalid> - 2011-06-23 17:45 -0400
            Re: fortran 77 errors Patricia Shanahan <pats@acm.org> - 2011-06-23 15:30 -0700
            Re: fortran 77 errors Geoff <geoff@invalid.invalid> - 2011-06-23 17:25 -0700
              Re: fortran 77 errors Patricia Shanahan <pats@acm.org> - 2011-06-24 10:35 -0700
              Re: fortran 77 errors blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-06-24 20:09 +0000
            Re: fortran 77 errors Ben Bacarisse <ben.usenet@bsb.me.uk> - 2011-06-24 01:38 +0100
    Re: fortran 77 errors "robin" <robin51@dodo.mapson.com.au> - 2011-06-27 17:10 +1000
  Re: fortran 77 errors kym@kymhorsell.com - 2011-06-23 21:23 +0000
  Re: fortran 77 errors "robin" <robin51@dodo.mapson.com.au> - 2011-06-27 17:13 +1000

csiph-web