Language mavens: Is there a programming with "if then else ENDIF" syntax?

Simon Brunning simon at brunningonline.net
Wed Nov 18 07:31:11 EST 2009


2009/11/17 sjm <sjmsoft at gmail.com>:
> On Nov 16, 12:54 pm, Steve Ferg <steve.ferg.bitbuc... at gmail.com>
> wrote:
> <snip>
>> Does anybody know a language with this kind of syntax for
>> ifThenElseEndif?
>
> Modern-day COBOL:
>
> IF      some-condition
>        do-something
> ELSE
>        do-something-else
> END-IF.

RPG/400's SELEC statement: http://bit.ly/2LDegk

Thing of beauty.

Cheers,
Simon B.



More information about the Python-list mailing list