I just noticed that Table.Count only counts non-nil values. For example:
tbl = {"hello", nil, "world"};
tblcount = Table.Count(tbl);
tblcount is equal to 2 instead of 3. Is this a bug or a feature? Is there a way to get the actual Table count?
I also tried using LUA function table.getn with different, but still incorrect results.
I am using SUF 9.2.
tbl = {"hello", nil, "world"};
tblcount = Table.Count(tbl);
tblcount is equal to 2 instead of 3. Is this a bug or a feature? Is there a way to get the actual Table count?
I also tried using LUA function table.getn with different, but still incorrect results.
I am using SUF 9.2.
Comment