|
Am 21.07.2016 um 22:03 schröbte Oliver Kroth:
Hi all (enumerated... :-)
Hi!
OK, I will make an iterator function that does the trick. The basic idea is that the table is enumerated once with pairs() to get the maximum integer key being used. give me a day or so...
Before you start: Arrays with holes in it also can have holes at the end, so the largest integer key with a non-nil value is not necessarily the size of the array.
-- Oliver
Philipp