Re: Infinite Loops and Explicit Exits

From: William M. Klein (wmklein_at_nospam.netcom.com)
Date: 11/15/04


Date: Mon, 15 Nov 2004 22:36:25 GMT

Richard,
   The quote that Robert included was for fixed format. The issue is when you
code:

  01 A.

The "01" has to be in the A-margin, but the '85 Standard (semi-clearly) states
that the "A" can also be in the A-margin. What I don't know is whether this was
or wasn't also true in the '74 Standard.

"more extreme" - and related to the original question of where a period is
allowed, the question is whether you could (in a conforming '74 compiler) code:

 1 A.

Where "1" is in column 8
"A" is in column
    and
the period (full-stop) is in column 11 (i.e. the A-margin).

     ****

It is worth noting, that in the '02 Standard (but NOT the '85 Standard) even
when one uses fixed form reference format, the A-/B-margin distinction is
removed (so simply marking "free format" as an extension or from the '02
Standard) doesn't address this question.

-- 
Bill Klein
 wmklein <at> ix.netcom.com
"Richard" <riplin@Azonic.co.nz> wrote in message 
news:217e491a.0411151314.626f8b34@posting.google.com...
> Robert Wagner <spamblocker-robert@wagner.net> wrote
>
>> Not having an official '85 standard, I say that based
>> on Micro Focus notation in their manual.
>
> In my MF manual it quite clearly states that all of 'free format' is
> an MF extension. 


Relevant Pages

  • Re: How do I loose 2 decimal places in a combo box
    ... fixed format and zero decimal format on other occasions when I used Access ... I am using a combo box in a form bound to the members id in the members ...
    (microsoft.public.access.tablesdbdesign)
  • Re: What is wrong with this search for the character PV/PQ
    ... You are compiling fixed format source in which two lines extend beyond ... If you compile it for free format you have old style comments. ...
    (comp.lang.fortran)
  • Re: NASA orbit simulation software
    ... My own experiences in various software systems suggest that while there may be an abstract "fixed format", a dozen different programs will have at least ten different formats. ... Build another dozen and it begins to make sense to enlist a standards organization to start creating standard. ... what's the best launch configuration? ...
    (sci.space.tech)
  • Re: Automatic detection of a COBOL dialect ?
    ... >I must say i have little knowledge about COBOL. ... >For now, I automatically detect fixed or free format, like this: ... > - else it is free format. ... it is fixed format and does not have any number on the 1-6 cols. ...
    (comp.lang.cobol)
  • Re: about c to fortran
    ... printf("%30.20lf %30.20lf\n", DUMMY, PI); ... If you're used to using C, free format will be easier ... So you can edit free format, and compile fixed format. ...
    (comp.lang.fortran)