Jump to content

File input/output: Difference between revisions

Line 2,528:
let: q Bin list;
'input.txt' rfile read {{@q $1 push _} when} for
@q 'output.txt' rwfile write $1 _
0 $1 &+ for
</lang>
Line 2,540:
'input.txt' rfile read 0 $1 {{
$ @q $1 push _
len $1 _ +
@w &break _for
} when} for
@q +? {@w &_ for} when _
</lang>
 
Cookies help us deliver our services. By using our services, you agree to our use of cookies.