[ create a new paste ] login | about

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

Lua, pasted on Oct 17:
1
2
3
4
5
x = {one = 1, two = 2, three = 3}

for k, v in pairs(x) do 
  print(k, ":", v)
end


Output:
1
2
3
one	:	1
three	:	3
two	:	2


Create a new paste based on this one


Comments: