GunChleoc {l Wrote}:T
- #table doesn't return the actual number of elements, but the highest index used. This can be misleading if you have gaps in the index.
Julius {l Wrote}:Good to know. But I actually like that indexing starts at 1
array[0] = someValue
array[1] = someOtherValue
Vandar {l Wrote}:It's a bit weird indeed. Some old BASIC dialects had an option to choose 0 or 1 as array start.
Users browsing this forum: No registered users and 1 guest