Originally Posted by Tar000un
I didnt a zgoo on, but after a rapid test to complet my answer :
if table[1] = true, so #table = 1, but if table["index"] = true, so #table = nil.
In fact #table is working only with the last correct numeric index.
table[1] = true;
table["index"] = true;
=> #table = 1
SOooo... The table has a non-zero number of results but a #table = 0, because it's probably using a string key instead a numeric key.
|
Return value from ZO_LinkHandler_ParseLink(link) is not a table, so #ZO_LinkHandler_ParseLink(link) does not work. You can try to use:
Lua Code:
local resultsTable = { ZO_LinkHandler_ParseLink(link) }
d(#resultsTable)