10 lines
133 B
Lua
10 lines
133 B
Lua
|
local function add (a, b)
|
||
|
return a + b
|
||
|
end
|
||
|
|
||
|
local function sub (a, b)
|
||
|
return a - b
|
||
|
end
|
||
|
|
||
|
print (("1 + 2 = %i"):format (add (1, 2)))
|