On Sat, 2012-04-21 at 16:40 -0400, Edward Jaffe wrote:
> The behavior of well-defined coding structures like IF/THEN/ELSE, DO, SELECT, 
> CASE, etc. are extremely well understood--both by programmers and by code 
> optimizers no matter which language is being employed.

Hmm.  I wonder if the COBOL compiler generates equivalent code for:
        GO TO ... DEPENDING ON X
(which I've always understood was a simple branch table) and:
        EVALUATE X
                WHEN 1 ...
                WHEN 2 ...

Hey John, there's a research topic for you in your copious spare time!

-- 
David Andrews
A. Duda & Sons, Inc.
david.andr...@duda.com

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN

Reply via email to