summaryrefslogtreecommitdiff
path: root/info/examples/luaintro/01-01-1.lua
blob: 40207fa724d45cb7dae9a506f962e2ec7b2b50bc (plain)
1
2
3
4
-- ein einfaches Lua-Beispiel
-- Syntax: texlua <datei>
a=3; b=4; c=5
print("Pythagoras: " .. a^2+b^2 .. "=" .. c^2)