From 13a1eadd9c94e9446dcbc31e02324c7f048f718d Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 17 Aug 2007 16:22:51 +0000 Subject: reordered the numbering using the script svn path=/trunk/; revision=8628 --- doc/tutorials/intro/18.depth_first.pd | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 doc/tutorials/intro/18.depth_first.pd (limited to 'doc/tutorials/intro/18.depth_first.pd') diff --git a/doc/tutorials/intro/18.depth_first.pd b/doc/tutorials/intro/18.depth_first.pd new file mode 100644 index 00000000..82982f7d --- /dev/null +++ b/doc/tutorials/intro/18.depth_first.pd @@ -0,0 +1,34 @@ +#N canvas 10 40 620 460 12; +#X obj 10 10 cnv 15 400 40 empty empty depth_first 20 12 0 24 -228992 +-66577 0; +#X obj 265 229 trigger bang bang; +#X msg 215 338 add2 \$1; +#X msg 84 234 set; +#X text 18 234 reset:; +#X msg 264 195 4; +#X msg 265 262 3; +#X msg 430 260 2; +#X msg 430 295 1; +#X text 15 378 see result here -->; +#X obj 265 164 bng 25 250 50 0 empty empty empty 0 -6 0 8 -24198 -1 +-1; +#X text 12 66 Pd processes messages in "depth first". This means the +bottom-most message in a chain runs first. Everything below a spot +in a chain is run before. As you'll see from the example below \, the +[4( message actually runs last \, since everything below it executed +before it.; +#X obj 223 430 pddp/pddplink http://crca.ucsd.edu/~msp/Pd_documentation/x2.htm#s3.2 +; +#X msg 214 377; +#X text 205 413 For more info:; +#X connect 1 0 6 0; +#X connect 1 1 7 0; +#X connect 2 0 13 0; +#X connect 3 0 13 0; +#X connect 5 0 1 0; +#X connect 5 0 2 0; +#X connect 6 0 2 0; +#X connect 7 0 8 0; +#X connect 7 0 2 0; +#X connect 8 0 2 0; +#X connect 10 0 5 0; -- cgit v1.2.1