aboutsummaryrefslogtreecommitdiff
path: root/reference/fwriteln-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'reference/fwriteln-help.pd')
-rw-r--r--reference/fwriteln-help.pd30
1 files changed, 30 insertions, 0 deletions
diff --git a/reference/fwriteln-help.pd b/reference/fwriteln-help.pd
new file mode 100644
index 0000000..c10d664
--- /dev/null
+++ b/reference/fwriteln-help.pd
@@ -0,0 +1,30 @@
+#N canvas 94 78 859 363 10;
+#X text 72 260 see also:;
+#X obj 130 281 textfile;
+#X text 482 150 output one line as a list and move to the next;
+#X text 618 7 part of zexy;
+#X text 15 95 features are :;
+#X text 58 199 no random access!;
+#X text 9 183 drawbacks are :;
+#X msg 433 248 close;
+#X text 578 117 open a file in 'cr' mode;
+#X obj 73 9 fwriteln;
+#X text 127 9 write text-files line-by-line;
+#X text 18 57 The [fwriteln] object is a simplified version if [textfile].
+It only supports writing files.;
+#X text 60 108 the file is not cached in the object's buffer. instead
+the current line will be streamed directly into the file. this allows
+to write _large_ files (which need not fit into the main memory at
+all);
+#X obj 130 262 freadln;
+#X obj 406 271 fwriteln;
+#X msg 441 172 1 2 3.666;
+#X msg 441 194 foo bar;
+#X msg 443 216 list is a list is a list;
+#X msg 435 116 open /tmp/test.txt cr;
+#X text 489 249 close the file (ensure that it gets written);
+#X connect 7 0 14 0;
+#X connect 15 0 14 0;
+#X connect 16 0 14 0;
+#X connect 17 0 14 0;
+#X connect 18 0 14 0;