lua-users home
lua-l archive

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

>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.