From 20c89a80a75f2ceea5be1b4a79a5c8aa0433e1b2 Mon Sep 17 00:00:00 2001 From: RayPals Date: Mon, 1 Jun 2026 00:55:15 +0200 Subject: [PATCH] Add examples/functions_example.claro from Claro v1.17.26 zip --- examples/functions_example.claro | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 examples/functions_example.claro diff --git a/examples/functions_example.claro b/examples/functions_example.claro new file mode 100644 index 0000000..0b6a658 --- /dev/null +++ b/examples/functions_example.claro @@ -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