lua-users home
lua-l archive

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


----- Original Message -----
> Is there a safe value to use for a null ref? -1 perhaps?

Hmmm.... -1  .. Maybe 17, 0x4345ABCD or "FD" :-)) ... Max you need to give
us some idea of your problem. In Lua 'nil' is the "nothing" value ...
Another offen seen solutions is a dead tag on userdata ... Give us something
more to work with!

/Erik