On May 1, 2008, at 9:26 PM, erik quanstrom wrote:

one does

        if key = 'c' then
                        scanline
                        runcommand
                else
                        generate(key)
                        assemble(key)

This is similar to Python, and prevents the nesting ambiguity of C,
Pascal, and some other languages that use block delimiters.

don't forget fortran.

[off topic] I wonder why it took 20 or so years for Fortran to introduce IF..ELSE..END IF. Probably after Kernighan and Plauger, 1974, it finally came to Backus' senses. :-P



Reply via email to