diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -1,21 +1,19 @@ -init(3); #include "tests/std/io.toc"; -/* #init(-50) init(1); #init(30) init(2); #init(-7) init(3); #init(-42) init(4); -*/ -x: int; init ::= fn(a: int) { - writes("Initializing... #"); - writei(a); + //writes("Initializing... #"); + //writei(a); x = 5; } +x: int; + main ::= fn() { writes("Main's value of x is: "); puti(x); |