Language mavens: Is there a programming with "if then else ENDIF" syntax?
Robin Becker
robin at reportlab.com
Mon Nov 16 12:42:12 EST 2009
Robin Becker wrote:
.......
> modern sh seems to use this with "fi" as endif eg
>
> ~:
> $ if true; then
> > echo true
> > elif false; then
> > echo false
> > else
> > echo hostile logic
> > fi
> true
> ~:
> $
>
I meant to say that since sh uses this construct it cannot be too bad as a
language construct since the world is built with sh and bash and similar.
Of course that's a bad argument since there's more cobol than everything else
put together (allegedly).
--
Robin Becker
More information about the Python-list
mailing list