[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Global variables, and lua states
- From: "Zulfiqar Malik" <Zulfiqar.Malik@...>
- Date: Tue, 31 May 2005 14:59:16 +0500
> you can set the function environment of the two scripts to different
> tables with setfenv.
How do I do that? Can u direct me to some decent tutorial or something
else? I checked out LUA reference manual, but since that's not very
detailed so it didn't help much! I did get the point of it, but couldn't
get the syntax right, somehow, always screwed something up in all the
things that I have tried so far :(.
However, I am happy that it can be done :).
Thanks once again.
Regards,
Zulfiqar Inayat Malik.