diff options
| author | Paul Buetow <paul@buetow.org> | 2008-08-26 08:17:55 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-08-26 08:17:55 +0000 |
| commit | 9bf07e1dfa69b5d6e4c296c0690b5ed91f909b7b (patch) | |
| tree | 60f46be65a1fbaeed2f5deb1d4dbcf5ea68e0d01 /examples/io.fy | |
added v0.1 branch
Diffstat (limited to 'examples/io.fy')
| -rw-r--r-- | examples/io.fy | 13 |
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; + |
