[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: globals() how does it work.
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 21 Mar 2001 03:18:22 -0300 (EST)
>You just forgot to copy "tostring". It's used internally by print.
>So print tries to call nil and by thus raises an error. And because
>you didn't have an _ERRORMESSAGE and _ALERT you don't see this error.
Yes, using globals() is tricky because some of the internals of Lua depends
on these global functions. The manual should be more explicit about this.