View Single Post
12-29-20, 11:13 AM   #3
Vrul
A Scalebane Royal Guard
 
Vrul's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 404
Originally Posted by lungdesire View Post
mass = {"one", "two", "three"}

test = "mass"

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

Why this code dont work and where error?
Lua Code:
  1. local test = {"one", "two", "three"}
  2.  
  3. for i, v in pairs(test) do
  4.   print(v)
  5. end
  Reply With Quote