#include "std/io.toc", io; #include "std/base.toc", base; main ::= fn() { file, err := io.fopen_write("test.txt"); if err { base.error("Couldn't open file!"); } for i := 1..100000000 { io.fputs(file, "Hello"); } io.fclose(file); }