Posted 14 February 2015 - 04:51 AM
t = {fs.list(path)}
for i = 1, #t do
print(t[i])
end
doesn't return what i want
t = {fs.list(path)}
for i = 1, #t do
print(t[i])
end
doesn't return what i want
t = fs.list(path)
for i = 1, #t do
print(t[i])
end
that's the same thing i wrote down…whats wrong with the code i wrote?I believe fs.list returns a table. So basically you're seeing t[1] being a table.t = fs.list(path) for i = 1, #t do print(t[i]) end
Your code:that's the same thing i wrote down…whats wrong with the code i wrote?
t = {fs.list(path)}
t = fs.list(path)