stdout-help.pd 1.33 KB
Newer Older
1
#N canvas 124 51 758 493 12;
2 3 4
#X msg 126 203 walk the dog;
#X msg 117 156 1;
#X obj 117 240 stdout;
5 6
#X obj 14 13 stdout;
#X text 67 14 - write messages to standard output;
7
#X msg 122 179 1 2;
8 9
#X obj 119 431 pd~;
#X text 44 431 see also:;
10 11 12 13 14 15
#X text 34 39 Sends messages to Pd's standard output. This is useful
in conjunction with the pd~ object \, which starts a pd sub-process.
Messages sent to the sub-process standard output appear on the output
of the pd~ object in the owning process. This might also be useful
in other situations. Note that there's no corresponding "stdin" object
- there seems to be no one canonical way such a thing should act.;
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
#X msg 256 203 walk the dog;
#X msg 247 156 1;
#X msg 252 179 1 2;
#X text 269 427 updated for Pd version 0.48;
#X obj 247 240 stdout -cr;
#X msg 383 178 100 111 117 98 108 101 32 32 115 112 97 99 101 44 32
80 100 10, f 32;
#X obj 383 240 stdout -b;
#X text 45 307 special flags:;
#X text 76 332 -cr: omit trailing semicolon in output (like [print])
;
#X text 79 352 -b \, -binary: binary mode;
#X text 79 392 -nf \, -noflush: do not fflush the output after each
message;
#X text 79 372 -f \, -flush: fflush the output after each message (default
on W32), f 65;
32 33
#X connect 0 0 2 0;
#X connect 1 0 2 0;
34 35 36 37 38
#X connect 5 0 2 0;
#X connect 9 0 13 0;
#X connect 10 0 13 0;
#X connect 11 0 13 0;
#X connect 14 0 15 0;