On Wed, 29 Mar 2023 14:16:56 +0000, Robert Prins wrote:

>> w    ..., and IBM rejected the original SHARE
>> requirement for a CASE statement.
>
>But the SELECT statement that they added (before my time) later beats the
>crap out of CASE in C & Pascal.
> 
Pascal CASE may have a performance advantage if it can be
implemented with an indexed branch table.  But how much does
it matter?

Isn't SELECT (I know Rexx, not PL/I) just an ELSEIF chain?

Too many languages lack ELSEIF and strong closure.  Fie on
the danglig ELSE!

-- 
gil

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

Reply via email to