All of this is true.  So far I'm still wedded to omitting the extras -- that
is, the stuff that seems extra until I need to debug -- and going to the
work of adding it when, as often happens, it's necessary.  Sometimes after
I'm done debugging I leave in the do/end pair, but not all the time.

Just A FEW MORE YEARS and I may be doing it your way.  I've certainly
thought about it.

---
Bob Bridges, [email protected], cell 336 382-7313

/* Tyranny's essence is lawless government -- government that makes
countless laws because it recognizes no law above itself.  -Joseph Sobran,
2001-11-08 */

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Jeremy Nicoll
Sent: Friday, June 18, 2021 15:14

Also in my experience it's often necessary to add extra lines of code (eg
for debugging) on one or other arm of a test and it's a lot easier later to
add code within the do/ends of

if fx then do
   ntim=ntim+1
end
else do
   nres=nres+1
end

than to have to add all the do/end stuff as well as the debugging code later
on.  It's also easier, if need be, to comment the if and else parts of that
if you've got unlimited space in the two arms of the structure.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to