Quantcast WoWInterface - View Single Post - Removing a table key?
View Single Post
09-09-14, 07:39 AM   #2
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,696
table.remove is used to remove values from an indexed array, not a a associative array like yours, the usage of it is this:
Code:
table.remove(guids, index)
Use this instead:
Code:
guids[guidA] = nil
  Reply With Quote