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

Now you know why COBOL programmers always indented their code ... it helps
line up the IF...ELSE structure. That was of course before VS COBOL II
(Cobol '85).

Joe

On Wed, Mar 29, 2023 at 8:01 AM Paul Gilmartin <
0000042bfe9c879d-dmarc-requ...@listserv.ua.edu> wrote:

> 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

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

Reply via email to