Add examples/functions_example.claro from Claro v1.17.26 zip
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
SAY "Function Example"
|
||||
|
||||
TEACH add TAKES a, b
|
||||
RETURN a + b
|
||||
LEARNED
|
||||
|
||||
CALL add WITH 2, 3
|
||||
|
||||
SAY "2 + 3 is:"
|
||||
SAY RESULT
|
||||
Reference in New Issue
Block a user