On Wed, 29 Mar 2023 08:13:11 -0500, Joe Monk wrote:

>"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
>
Past tense?  No longer?

>line up the IF...ELSE structure. That was of course before VS COBOL II
>(Cobol '85).
>
I understand that Python goes even further: it enforces the indention.

It's precious that Rexx allows identifying the END by naming the control 
variable.
Does PL/I do likewise?  At times I use an otiose control variable merely so I
can mark the END.

And it's a shame that JCL doesn't require that the name fields of ELSE and ENDIF
match that of the IF.

-- 
gil

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

Reply via email to