[24 Aug 2009] Documentation issue regarding NextItem()?
Posted: Sat Jun 13, 2020 5:32 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Mon, 24 Aug 2009 10:26:22 +0200
The documentation says:
But actually NextItem() returns an index to the current value (item) that is returned (and not to the next value), Otherwise it would not be possible to copy a table, because you would never get the index to the very first element int the table.
"next" is then always a index to "item" in "table" for next, item = NextItem(table[,start]), right?
I'm just asking because I want to make sure that what I'm testing here does not just accidently work
Thanks, Tom
The documentation says:
Code: Select all
"next , item = NextItem(table[,start])
...
NextItem() then returns an index to the next
value in the table and the first value in the table."
"next" is then always a index to "item" in "table" for next, item = NextItem(table[,start]), right?
I'm just asking because I want to make sure that what I'm testing here does not just accidently work
Thanks, Tom