summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/luatex/luaintro/08-01-10.lua
blob: c9f2d6f3e0183e0fa25d303b7ee292f269c05dc6 (plain)
1
2
3
4
5
6
7
8
function f(a) return (a*a) end
x=11;g =12
a={ [f(3)]=g; "x", "yy"; x=1,
    f(x), [30]=23; 45 }
print(table.maxn(a).." Elemente")
for i,j in pairs(a) do
  print(i,j)
end