Author: Bill Woodger
Subject: Reply to: COBOL Version 6.1
Posted: Wed Mar 08, 2017 8:52 pm (GMT 5.5)
Correct. And is that "expected" by most people? And when you see it, are you certain it was what was intended?
Not what anyone would want to try to understand :-)
Oh, and a paragraph/SECTION doesn't have to be PERFORMed. So someone could just use it to get out of any old place they happened to be in. Or, is that line of code then someone assuming "this will only exit if the paragraph is PERFORMed".
Then let's have a nice nested in-line PERFORM with EXIT PERFORM or EXIT PERFORM CYCLE. Great fun.
Is everyone going to use them with care and attention? Because if they would, they'd be people who could structure their programs without having to need to use them...
Subject: Reply to: COBOL Version 6.1
Posted: Wed Mar 08, 2017 8:52 pm (GMT 5.5)
Correct. And is that "expected" by most people? And when you see it, are you certain it was what was intended?
Not what anyone would want to try to understand :-)
Oh, and a paragraph/SECTION doesn't have to be PERFORMed. So someone could just use it to get out of any old place they happened to be in. Or, is that line of code then someone assuming "this will only exit if the paragraph is PERFORMed".
Then let's have a nice nested in-line PERFORM with EXIT PERFORM or EXIT PERFORM CYCLE. Great fun.
Is everyone going to use them with care and attention? Because if they would, they'd be people who could structure their programs without having to need to use them...