#N canvas 613 80 660 637 10;
#X text 92 44 read and write text files;
#X obj 166 368 print done;
#X msg 182 97 rewind;
#X text 295 228 read a file;
#X msg 182 229 read textfile.txt;
#X text 233 96 go to beginning;
#X msg 182 119 bang;
#X text 233 118 output one line as a list;
#X msg 182 251 write /tmp/textfile.txt;
#X msg 182 273 write /tmp/textfile2.txt cr;
#X msg 182 295 read textfile.txt cr;
#X msg 182 141 clear;
#X text 233 140 empty the object;
#X text 289 163 add a message;
#X msg 182 207 set 2 4 6 8;
#X text 289 207 clear and then add one message;
#X msg 182 163 add cis boom bah;
#X msg 182 185 add2 bang;
#X text 289 185 add an unterminated message;
#X msg 182 317 print;
#X text 226 317 debugging printout;
#X text 329 250 write a file;
#X obj 121 343 textfile;
#X text 353 272 write a file \, terminating lines with a;
#X text 354 287 carriage return (omitting semicolons).;
#X text 353 302 You can read files this way \, too \, in;
#X text 354 317 which case carriage returns are mapped;
#X obj 121 390 print message;
#X text 355 332 to semicolons.;
#X connect 2 0 22 0;
#X connect 4 0 22 0;
#X connect 6 0 22 0;
#X connect 8 0 22 0;
#X connect 9 0 22 0;
#X connect 10 0 22 0;
#X connect 11 0 22 0;
#X connect 14 0 22 0;
#X connect 16 0 22 0;
#X connect 17 0 22 0;
#X connect 19 0 22 0;
#X connect 22 0 27 0;
#X connect 22 1 1 0;
