lua-users home
lua-l archive

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


Michaela Kyavar wrote:

Are you saying that the getn should not work, but indexing with the userdata
should?


Beware though, that the userdata might not have the same value for every time you
get it. So unless you reference the original userdata (the key) somewhere and use
that for each lookup, you might not find the original values since the userdata could
be different (another key), not saying that the contents of the userdata is different,
only the value as seen in lua.

//Kaos