[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: gnubol: "Illegal" Next Sentence



Constants (defined in the program), compile-time expressions, and conditional
compilation are ALL included in the draft of the next Standard - but not
included in the current Standard.  Many vendors have (incompatible)
extensions for them already.

Bill Klein
  wmklein <at> ix.netcom.com

> -----Original Message-----
> From: owner-gnu-cobol@wallace.lusars.net
> [mailto:owner-gnu-cobol@wallace.lusars.net]On Behalf Of Michael McKernan
> Sent: Tuesday, December 07, 1999 8:08 AM
> To: gnu-cobol@lusArs.net
> Cc: Owner-Gnu-Cobol; mck@tivoli.mv.com
> Subject: Re: gnubol: "Illegal" Next Sentence
>
>
> I don't have a whole lot of interest in improving this hack, but its
> use of a constant variable ;-) reminds me to put the question.  Are
> compile time expressions still prohibited in COBOL?  I'm not trying
> to start another extensions thread, but, syntactically, a numeric
> literal is an arithmetic expression.
>
> Mike
>
> >>>>> "Bill" == William M Klein <wmklein@ix.netcom.com>
> >>>>> wrote the following on Mon, 6 Dec 1999 00:00:18 -0600
>
>   Bill> B) Create a COPY member called NextSentence which has the
>   Bill> following code in it:
>
>   If Next-Sentence = Space
>     If Next-Sentence = Space
>         Next Sentence
>     Else
>         Continue
>   Else
>      Continue
>   End-IF
>
>
>
>
> --
> This message was sent through the gnu-cobol mailing list.  To
> remove yourself
> from this mailing list, send a message to majordomo@lusars.net with the
> words "unsubscribe gnu-cobol" in the message body.  For more information on
> the GNU COBOL project, send mail to gnu-cobol-owner@lusars.net.


--
This message was sent through the gnu-cobol mailing list.  To remove yourself
from this mailing list, send a message to majordomo@lusars.net with the
words "unsubscribe gnu-cobol" in the message body.  For more information on
the GNU COBOL project, send mail to gnu-cobol-owner@lusars.net.