diff options
| author | Drahflow <drahflow@gmx.de> | 2013-02-01 18:08:17 +0100 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2013-02-01 18:08:17 +0100 |
| commit | 483c6f84d4ad5080d05b133df9734febd60ca574 (patch) | |
| tree | 6536dd19db450c879171e644b1b923e40e033e54 /examples/working-compiler/io.test | |
| parent | 08bdc8acf1f951f071583150ab3c755450d96c4b (diff) | |
sys .asm existing
Diffstat (limited to 'examples/working-compiler/io.test')
| -rw-r--r-- | examples/working-compiler/io.test | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/working-compiler/io.test b/examples/working-compiler/io.test new file mode 100644 index 0000000..a835c28 --- /dev/null +++ b/examples/working-compiler/io.test @@ -0,0 +1,16 @@ +# ## variant 0 +# +# < sys .file with +# "io.ey" RO open +# 512 read +# close +# > - + +## variant 1 + +sys .file /f defv +"io.test" f .open +512 f .read +f .close + +sys .out .writeall |
