lua-users home
lua-l archive

Re: local by default?

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


> I think the best thing would be to default to local for read and write of
> variables having read access to globals by default and have to declare write
> access.
But the problem is, when you see "print ()", is that a read of an
undeclared, uninitialised local variable, or a read of a global?
-- 
http://www.mupsych.org/rrt/ | The Next Station Is Oval

AltStyle によって変換されたページ (->オリジナル) /