summaryrefslogtreecommitdiff
path: root/examples/variables.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/variables.fy
parent63cf3028445d8d213ffc774f77aafd7283cb4fbd (diff)
parent5ab5de91eb0ae6ed9db78a2c8c47ec67f105e504 (diff)
Diffstat (limited to 'examples/variables.fy')
-rw-r--r--examples/variables.fy21
1 files changed, 0 insertions, 21 deletions
diff --git a/examples/variables.fy b/examples/variables.fy
deleted file mode 100644
index ac619c9..0000000
--- a/examples/variables.fy
+++ /dev/null
@@ -1,21 +0,0 @@
-#*
- * Examples of how to define variables
- *#
-
-# Defines the variables
-my foo = 1 + 1;
-my bar = 4 - 1, baz = 100 + 1, bay;
-
-# bay has been initialized with the default value of 0
-say bay;
-
-# Prints out "5\n"
-assert 5 == (say foo + bar);
-
-# Pritns out "51101\n"
-assert 51 == (put baz - 50);
-assert 101 == (say baz);
-
-# Change the value of the variable to 99 and print it out
-assert 99 == (baz = 99);
-say baz;