Language mavens: Is there a programming with "if then else ENDIF" syntax?
Edward A. Falk
falk at mauve.rahul.net
Mon Nov 16 15:40:30 EST 2009
In article <ff92db5b-9cb0-4a72-b339-2c5ac02fbad0 at p36g2000vbn.googlegroups.com>,
Steve Ferg <steve.ferg.bitbucket at gmail.com> 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.
"then", "else", and "endif" *are* the block delimiters
--
-Ed Falk, falk at despams.r.us.com
http://thespamdiaries.blogspot.com/
More information about the Python-list
mailing list