lua-users home
lua-l archive

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

> It's simply a bug ;-)  But if you expect a nil you have to change your
> code too.

I guess I know what you mean, because I don't find a way to check for a NULL in my LUA script now.
    if function_result == nil then ...
    if function_result == 0 then ...
works. But, function_result is userdata, and it has the value "0", as my debug output says ...

Could you help me again please?

> PS: Be careful when using userdata objects with the default tag...


Thanks in advance,

Matthias Gall, lead programmer at sechsta sinn