summaryrefslogtreecommitdiff
path: root/examples/inlinefunctions.fy
diff options
context:
space:
mode:
authoradmin (centauri.fritz.box) <puppet@mx.buetow.org>2014-06-30 23:53:04 +0200
committeradmin (centauri.fritz.box) <puppet@mx.buetow.org>2014-06-30 23:53:04 +0200
commitadc4b59a3e7c9db6f33670164490830d87331228 (patch)
treeadc5d21856852bfb5c3cca794a9c07ad476d877e /examples/inlinefunctions.fy
parent63cf3028445d8d213ffc774f77aafd7283cb4fbd (diff)
parent5ab5de91eb0ae6ed9db78a2c8c47ec67f105e504 (diff)
Diffstat (limited to 'examples/inlinefunctions.fy')
-rw-r--r--examples/inlinefunctions.fy20
1 files changed, 0 insertions, 20 deletions
diff --git a/examples/inlinefunctions.fy b/examples/inlinefunctions.fy
deleted file mode 100644
index 81848ce..0000000
--- a/examples/inlinefunctions.fy
+++ /dev/null
@@ -1,20 +0,0 @@
-#*
- * Simple builtin function tests
- *#
-
-# Print "-20\n"
-assert (neg 20) == (say neg 20);
-
-# Print "30\n"
-assert 30 == (say 10 - neg 20);
-
-# Print "-30\n"
-assert (neg 30) == (say neg neg neg 10 - neg 20);
-
-# Print "Hello\n"
-put "Hello";
-ln;
-
-# Exit with exit code 0
-exit 10 + 10 - 5 - 15;
-