[ create a new paste ] login | about

Link: http://codepad.org/dBhQFjSg    [ raw code | fork ]

Lua, pasted on Mar 9:
1
2
3
4
5
6
7
8
local function a()
 local a = 
 {a1 = 1 , a2 = 2 ,a3 = 3}
 for i = 1, 3 do
     local i = "a" .. i 
     print(a.i)
 end
end


Output:
No errors or program output.


Create a new paste based on this one


Comments: