summaryrefslogtreecommitdiff
path: root/test.lua
blob: c0a2eb4273b7649a6e4a3a0cc8243a9fd4f62846 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$debug


function somaP (x1,y1,x2,y2)
  return x1+x2, y1+y2
end

function norma (x,y)
  return x*x+y*y
end

function retorno_multiplo ()
 print (norma(somaP(2,3,4,5)))
end