On Mon, 26 Sep 2022 01:21:03 +0000, Seymour J  wrote:

>As a companion to "Structured Programming with go to Statements" by DONALD E. 
>KNUTH, I see a great need for "Spaghetti Code Without go to Statements". 
>BTDT,GTS.

That's almost trivial.  Refracture any spaghetti code as a single DO FOREVER
containing a SELECT in which each WHEN clause assigns to a variable used
to indicate the next WHEN.

-- 
gil

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

Reply via email to