Table Iteration
Good Morning,
I was curious about how I may go about ensuring a table of mine is iterated over in a certain order (simply, top to bottom.)
I tried to use the ipairs() function for my loop, and it didn't work; and using pairs(), it reads my table in a rather erratic fashion.
My table utilizes the key and value as information, so I can't use the key as an index. The next() function seems to produce the same results as pairs().
Thanks!
|