Quantcast
How print array? - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
12-29-20, 10:49 AM   #1
lungdesire
A Deviate Faerie Dragon
Join Date: May 2020
Posts: 13
How print array?

mass = {"one", "two", "three"}

test = "mass"

for i, v in pairs(test) do
print(v)
end

Why this code dont work and where error?
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » How print array?

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