Code:
PRF = {
["Profile_1"] = {
["pve"] = {
{
"Blood Frenzy", -- [1]
22420, -- [2]
}, -- [1]
{
"Guttural Roars", -- [1]
22424, -- [2]
}, -- [2]
{
"Balance Affinity", -- [1]
22163, -- [2]
}, -- [3]
{
"Mass Entanglement", -- [1]
18576, -- [2]
}, -- [4]
{
"Incarnation: Guardian of Ursoc", -- [1]
21706, -- [2]
}, -- [5]
{
"Survival of the Fittest", -- [1]
22422, -- [2]
}, -- [6]
{
"Pulverize", -- [1]
22425, -- [2]
}, -- [7]
},
["pvp"] = {
},
["bar"] = {
},
},
}
How do I get number of profile records in this table?
The function below gives me "count 0 0", I expect 1 for "Profile_1"
Code:
print("count " .. table.getn(PRF) .. " " .. #PRF)
Thank you!