lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> It's far worse than that.  The problem is identifier
> scope, not
> assignment.  To make "a := b" affect other lines
> where "a = b" is used is
> an extremely confusing way of overloading
> assignment.

That would be very confusing, which is why I did
not propose it (!).

In fact, I was suggesting making it illegal to
mix ":=" and "=" in the same function.

Maybe your objections would be partially 
addressed if you read the suggestions you
are critiquing more carefully?

Tom.




__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/