• Subject: RE: NEXT SENTENCE & END-IF different in OPM and ILE COBOL
  • From: "Dibrell, Branston" <branston.dibrell@xxxxxxx>
  • Date: Wed, 17 Mar 1999 16:34:49 -0600

I didn't see the post of the original code, but I can say that Yes, Next
Sentence is supposed to transfer you to the statement following the period.
However, for a long time, the Period and the Logical-End-of-the-Condition
were the same.  That is why CONTINUE was introduced at the same time as the
scope delimiters (END-IF, etc).  As far as I know, NEXT SENTENCE and
CONTINUE are interchangeable and both go to the
Logical-End-of-the-Condition.
-Branston

-----Original Message-----
From: Howard Weatherly [mailto:hweatherly@dlis.dla.mil]
Sent: Tuesday, March 16, 1999 9:45 AM
To: MIDRANGE-L@midrange.com
Subject: Re: NEXT SENTENCE & END-IF different in OPM and ILE COBOL


David, Ya I understood that, I was hoping to unoffensivly say to get the
stinking period out if you are going to use scope delimeters or dont use
scope delimeters rather use periods. The point being dont mix them
because it confuses the compiler. Also it is good to not use obsolete
statements eg.. NEXT SENTENCE... this has been replaced by CONTINUE.

Can you tell that you have hit a nerve here?

--

Howard Weatherly

(616)961-4324

hweatherly@dlis.dla.mil
hweath@ibm.net
howard_weatherly@ctg.com

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact [javascript protected email address].