aboutsummaryrefslogtreecommitdiff
path: root/test.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test.lua')
-rw-r--r--test.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/test.lua b/test.lua
new file mode 100644
index 00000000..c0a2eb42
--- /dev/null
+++ b/test.lua
@@ -0,0 +1,15 @@
1$debug
2
3
4function somaP (x1,y1,x2,y2)
5 return x1+x2, y1+y2
6end
7
8function norma (x,y)
9 return x*x+y*y
10end
11
12function retorno_multiplo ()
13 print (norma(somaP(2,3,4,5)))
14end
15