lua-users home
lua-l archive

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

2010/9/5 Tyrael <>:
> This happens randomly, and i don't find in what condition it will
> happen. Any advice given is appreciated.


I don t know exactly but in my experience it is strongly probable that
you forgot to declare the variable as local and lua is binding it to
the enclosing scope. This kind of problem can be hard to spot because
is some cases the program can actually work when you debug it at the