10 lines
172 B
Lua
10 lines
172 B
Lua
|
local table = {
|
||
|
["hello"] = "world!",
|
||
|
["goodnight"] = "moon",
|
||
|
twoPlusTwo = 4
|
||
|
}
|
||
|
|
||
|
for key,val in pairs(table) do
|
||
|
print(string.format("%s: %s", key, val))
|
||
|
end
|