diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -2,8 +2,12 @@ #include "std/mem.toc"; main ::= fn() { - for i, v : (float, int) = 10,-1,.0 { - io.puti(i as int); + file, err := io.fopen_write("test.txt"); + + for i := 0.,1000000 { + io.fputs(file, "!"); } + + io.fclose(file); } main(); |