Rich kids are into COBOL
Chuck Guzis
cclist at sydex.com
Wed Feb 18 12:24:31 CST 2015
On 02/18/2015 08:55 AM, Sean Conner wrote:
>> It's that variable scope of a PERFORM that I don't recall seeing in any
>> other language.
>
> Am I missing someting?
Yes, you are. Control flow can also "drop though" when executing the
paragraphs. In any other language, you'd have to invoke the paragraphs
explicitly.
Thus:
Para-1.
...some code...
Para-2.
...some more code...
Para-3.
---yet more code...
Para-4.
...and some other code...
If control flow proceeds normally (or via a GO TO) to Para-1, control
will normally flow from there out the bottom of Para-4.
--Chuck
More information about the cctalk
mailing list