Thread Tools Display Modes
Prev Previous Post   Next Post Next
03-20-09, 09:06 AM   #1
flaska
A Theradrim Guardian
AddOn Compiler - Click to view compilations
Join Date: Dec 2006
Posts: 65
Find associative keys in table

if I create a table with associative keys, i.e:

Code:
db = {}
db["[20/3]Event1"] = bla
db["[21/3]Event2"] = bla
..then how do I list the elements? foreach wouldn't work, right?

Is there any way to look through assoc table values without knowing the keys?
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Find associative keys in table


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off