diff options
Diffstat (limited to 'pd/doc/5.reference/until.pd')
-rw-r--r-- | pd/doc/5.reference/until.pd | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pd/doc/5.reference/until.pd b/pd/doc/5.reference/until.pd new file mode 100644 index 00000000..9da7a9ce --- /dev/null +++ b/pd/doc/5.reference/until.pd @@ -0,0 +1,25 @@ +#N canvas 142 97 410 273 10; +#X msg 65 116 bang; +#X obj 66 15 until; +#X text 114 16 - LOOP; +#X text 24 36 The until object's left inlet starts a loop in which it outputs "bang" until its right inlet gets a bang which stops it. If you start "until" with a number \, it iterates at most that number of times \, as in the Max "uzi" object.; +#X text 24 85 WARNING: if you bang an "until" which doesn't have a stopping mechanism \, Pd goes into an infinite loop!; +#X obj 65 168 until; +#X text 110 115 start; +#X msg 73 137 3; +#X text 109 138 start limited to 3 iterations; +#X obj 65 196 f; +#X obj 96 198 + 1; +#X obj 140 198 sel 0; +#X obj 65 240 print; +#X obj 96 219 mod 10; +#X text 225 247 updated for Pd version 0.28; +#X connect 0 0 5 0; +#X connect 5 0 9 0; +#X connect 7 0 5 0; +#X connect 9 0 10 0; +#X connect 9 0 12 0; +#X connect 10 0 13 0; +#X connect 11 0 5 1; +#X connect 13 0 9 1; +#X connect 13 0 11 0; |