[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Overwriting variables by accident
- From: "Simon" <simon@...>
- Date: Mon, 15 Sep 2003 15:21:23 +0100
Apologies on the version number!
As for the solution, that's just what I need. Many thanks
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Luiz Henrique
de Figueiredo
Sent: 15 September 2003 01:34
To: [email protected]
Subject: Re: Overwriting variables by accident
>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