[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: _ERRORMESSAGE
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 20 Aug 2003 17:05:22 -0300
>Virgil Smith wrote:
>> Will _ALERT work for your purposes?
>
>It would, if there was one in Lua 5.0. I found nothing about it in
>the docs. If I am not mistaken there used to be an _ALERT in Lua 3.2...
_ALERT is present in Lua 5.0 for compatibility, but it's not part of the core,
it's simply a protocol that lua.c uses.
The ony way to catch error messages is on the C side. Try lua_pcall and your
own error function.
--lhf