[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Manipulating locals
- From: Antero Vipunen <antero@...>
- Date: Tue, 19 Aug 2003 14:45:55 +0600
Wednesday, August 13, 2003, 10:27:12 PM, you wrote:
bsh> If the script is going to use these variables by name, then you may as well just
bsh> set them as globals.
I have such system:
-> LuaThread1(= lua_newthread(MainLuaState))
-> LuaThread2(= lua_newthread(MainLuaState))
If I add globals to LuaThread2 they become accessable in LuaThread1 also. But I want to have vars with the same name
butdifferent value in LuaThread1,LuaThread2.