ts <decoux / moulon.inra.fr> wrote:
>
> >>>>> "B" == Ben Tilly <ben_tilly / hotmail.com> writes:
>
>B> All 3 suggestions were intended as optional features
>B> that could be used to automatically catch common
>B> errors.  None would be forced.
>
>  OK, 2) is easy. You can see it at the equivalent of let in LISP (some
>  variables local to a block) but many persons don't like declare 
>variables,
>  and ruby 'def' are generally small and probably don't need such a
>  construct.
>
>  I've not understood 1), when you have
>
>      a = 12
>
>  what do you do ?

By default you recognize that a is a variable.

If you are in a scope where someone has asked that
variables not autovivify, and a is not already
known to be a variable, then you blow up with an
informative parse error.

Cheers,
Ben
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com