summaryrefslogtreecommitdiff
path: root/examples/io.fy
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-15 23:28:07 +0000
committerPaul Buetow <paul@buetow.org>2008-05-15 23:28:07 +0000
commitbe839900419c7a74c4a46efd279d0ca16b35dc1f (patch)
tree1355c8f238d1c58ffd5cb8803bcc2adf987e79aa /examples/io.fy
parent33c945e58f86267b0d3bdca4c3421155e11eb0d9 (diff)
Moved stuff into trunk.
Diffstat (limited to 'examples/io.fy')
-rw-r--r--examples/io.fy13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/io.fy b/examples/io.fy
new file mode 100644
index 0000000..fda514d
--- /dev/null
+++ b/examples/io.fy
@@ -0,0 +1,13 @@
+#*
+ * Simple I/O examples. Currently only output is supported.
+ *#
+
+# Print out 10 followed by a newline
+say 10;
+
+# Print out 20 without a newline followed
+put 20;
+
+# Print out a newline
+ln;
+