lua-users home
lua-l archive

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

Hello benjamin,

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))
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.

Best regards,
 Antero Vipunen