Originally Posted by Duugu
doh
I spend 20 minutes to write down all the stuff solely because you posted a wrong example?
|
The clue was there!! - when I said the loop 'only renamed one element of the table' - that implied that I'd written working code already otherwise I'd not know that it failed after 1 loop
Copying the 50-60 lines of code from my addon didn't seem wise hence I created an example - my use of 'flippant' variable names was intended to show it was just an example and not 'proper' code
Great explanation of tables tho - I'm sure people will find it useful and it will Cut-and-Paste into other threads