Thread Tools Display Modes
Prev Previous Post   Next Post Next
02-09-18, 09:44 AM   #1
doofus
A Chromatic Dragonspawn
Join Date: Feb 2018
Posts: 158
Static initialising a table

Can I do the following? Do you spot any obvious mistakes? The values below maybe fictitious - but is the syntax/concept correct?

Many thanks


local lSpellNamesAndIds = {
["PALADIN"] =
{
["Retribution"] =
{
["Judgment"] = { 231663, "Judgment", },
["Templars-verdict"] = { 85256, "templars-verdict", },
["crusader-strike"] = { 231667, "crusader-strike", },
},
},
["DRUID"] =
{
["Balance"] =
{
["Starfall"] = { 231663, "Starfall", },
["Sunrise"] = { 85256, "Sunrise", },
},
},
};
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Static initialising a table

Thread Tools
Display Modes

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