[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: return from lua_dostring?
- From: "Luiz Carlos Silveira" <luiz@...>
- Date: Mon, 27 May 2002 15:26:57 -0300
I have a question about that too. Ok, "return" will do it's job if called on the main chunk of the string, but I wanted more than
that: is there a way to redefine exit() so that instead of exiting the entire program, it returns immediately from that dostring ?
> -----Original Message-----
> From: email@example.com
> [mailto:firstname.lastname@example.org]On Behalf Of kaishaku13
> Sent: Sunday, May 26, 2002 4:42 PM
> To: Multiple recipients of list
> Subject: Re: return from lua_dostring?
> Pfft, sorry, it's just 'return'...
> --- In lua-l@y..., "kaishaku13" <kaishaku13@h...> wrote:
> > How can I end an execution of lua_dostring
> > from inside the lua string being evaluated?
> > exit is not what I want...
> > I just want to 'return' to my host application.