lua-users home
lua-l archive

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


> That does make sense to me, but if the global a instead get's declared
> local the result seems weird to me.

See the output of luac -l -p on your program. It will tell you what Lua is
doing. In particular, it will tell you which variables are global and which
are local.