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

Mark Dickinson dickinsm at
Tue Nov 17 11:15:40 CET 2009

On Nov 16, 4:54 pm, Steve Ferg <steve.ferg.bitbuc... at> wrote:
> I've often thought that a language with this kind of block-free syntax
> would be nice and intuitive:
>     if <condition> then
>         do stuff
>     elif <condition> then
>         do stuff
>     else
>         do stuff
>     endif
> Note that you do not need block delimiters.

GAP uses almost exactly this syntax, but with 'fi' instead of 'endif':


More information about the Python-list mailing list