[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: dostring return
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 13 Nov 2000 13:26:21 -0200 (EDT)
>Lua 3.2 Question:
>I'm a little confused ... The manual state that dostring should return the
>values returned by the string or nil .. But if the string does not return
>anything, a userdata:0x00000000 is returned ?? Is this the way it is
>supposed to work ?
Yes: dostring returns nil if and only if there was an error.