lua-users home
lua-l archive

Re: Overwriting variables by accident

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


>I have a small issue here (still using 4.1).
There's no 4.1...
>Is there anyway of deterimining whether a variable you have assigned is
>being overwritten/reassigned again so we can pop up an error to the user
>concerned?
For Lua 5.0, see test/readonly.lua .
For Lua 4.0, see Q3.3 in http://lua-users.org/wiki/RetiredLuaFaq .
--lhf

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