Re: Code problems with Perform Thru Exit causes fall through



On Aug 1, 11:29 am, "Rick Smith" <ricksm...@xxxxxxx> wrote:
"Richard" <rip...@xxxxxxxxxxxx> wrote in message

news:1185865451.293160.20430@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

No. SECTIONs may be the basis of segmentation. Or they may be the
basis of a hierarchical program structure with a sub-structure of
paragraphs. Neither requires they be treated as an 'entity' any more
so than a paragraph is or a statement is. _You_ may be treating them
as an 'entity' with special privileges and attributes but the compiler
does not.

You seem to expressing your view of what an entity is
(or is not) and not what it is (or is not) to the compiler,

Interesting because that is exactly what you seem to have done. You
claimed that the compiler treated a section as an 'entity' as if it
were doing so in some useful way that matched your imaginings that it
is a 'mini-program' or 'encapsulated'

then you mistakenly attribute your view to that of the
compiler.

Actually it seems to you that is doing that.

This appears in "Neither requires they be
treated as an 'entity' ...", while the rules for COBOL
require that section headers be recognized and the
section and its contents be treated according to those
rules.

You deliberately clipped off the: "any more so than a paragraph or
statement is.".

[entity: being or existence, esp. when considered
as distinct or self-contained] A COBOL compiler will
recognize the existence of each section as something
distinct from all other sections.

And it will recognise each paragraph as something distinct from each
other paragraph. And it will recognise each imperitive statement as
being distinct from all other imperitive statements.


.



Relevant Pages

  • Re: Code problems with Perform Thru Exit causes fall through
    ... claimed that the compiler treated a section as an 'entity' as if it ... sections giving some properties of 'encapsulation' as if it made it ... Your claims were that the _compiler_ makes SECTIONs (with the keyword) ... some resolving of duplicate paragraph names. ...
    (comp.lang.cobol)
  • Re: Code problems with Perform Thru Exit causes fall through
    ... claimed that the compiler treated a section as an 'entity' as if it ... or 'with special privileges and attributes'. ... terms as the comparison of sections versus paragraph groups. ... section or paragraph group, is more deserving of the "solid ...
    (comp.lang.cobol)
  • Re: Code problems with Perform Thru Exit causes fall through
    ... so than a paragraph is or a statement is. ... as an 'entity' with special privileges and attributes but the compiler ... And it will recognise each paragraph as something distinct from each ... And it will recognise each imperitive statement as ...
    (comp.lang.cobol)
  • Re: Code problems with Perform Thru Exit causes fall through
    ... and not what it is to the compiler, ... sections giving some properties of 'encapsulation' as if it made it ... of sections versus paragraph groups. ... recognize any paragraph group, at all. ...
    (comp.lang.cobol)
  • Re: Code problems with Perform Thru Exit causes fall through
    ... so than a paragraph is or a statement is. ... as an 'entity' with special privileges and attributes but the compiler ... or 'with special privileges and attributes'. ... I added the 'it will recognise each paragraph as something ...
    (comp.lang.cobol)