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

sjm sjmsoft at gmail.com
Tue Nov 17 10:29:56 EST 2009


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.

    The period is also meaningful as a statement terminator in COBOL,
so it's not as clean as one might like.

    I, too, like the Python way.

Cheers,
  Steve J. Martin



More information about the Python-list mailing list