local a = {10, 20, 30, 40, 50}
local i = 1
while a[i] do
print(a[i])
i = i + 1
end
Thursday, May 3, 2012
while 문 써서 array 내용 프린트하기
Labels:
Lua
Subscribe to:
Post Comments (Atom)
local a = {10, 20, 30, 40, 50}
local i = 1
while a[i] do
print(a[i])
i = i + 1
end
No comments:
Post a Comment