View Single Post
09-01-14, 06:50 PM   #2
Lombra
A Molten Giant
 
Lombra's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 554
Where do you suppose Profiler would be called? What I think you might be missing here is that reassigning the loop variables won't actually change the table, which I think is what you're looking to do. Reassigning v won't change the value of table[i] in the same way that this "doesn't work":
Code:
a = 1
b = a
b = 2
print(a) -- a is still 1
__________________
Grab your sword and fight the Horde!
  Reply With Quote