[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Explanation needed for setfenv replacement for Lua 5.2
- From: Lorenzo Donati <lorenzodonatibz@...>
- Date: Thu, 05 May 2011 07:06:06 +0200
On 04/05/2011 23.58, Roberto Ierusalimschy wrote:
Note that, for this particular use, you do not need the entire
apparatus of Rhozenko's code. (In particular, you do not need the part
you had not understood.) A simpler 'setfenv' will do:
Forget it. I was tired... (Sorry for the noise.)
Don't worry! You're welcome. :-)
Thank you for reading my (long) posts anyway!
As the old say goes:
Stupid people don't learn from their mistakes,
smart people do,
but wise ones learn from the mistakes of others.
It's the essence of debugging, if you want! :-D