summaryrefslogtreecommitdiff
path: root/examples/comments.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/comments.fy
parent33c945e58f86267b0d3bdca4c3421155e11eb0d9 (diff)
Moved stuff into trunk.
Diffstat (limited to 'examples/comments.fy')
-rw-r--r--examples/comments.fy21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/comments.fy b/examples/comments.fy
new file mode 100644
index 0000000..216e41b
--- /dev/null
+++ b/examples/comments.fy
@@ -0,0 +1,21 @@
+#*
+ * Simple examples how to write comments
+ *#
+
+# This is a single lined comment
+
+say 1 + 1; # This is a comment at the end of the line
+
+say 1 #* This is an embedded comment *# + 1;
+
+#* This is
+ a
+ multiline
+ comment *#
+
+#*
+ * This is
+ * a nicer looking
+ * multiline comment
+ *#
+