From a929b8f85f3db55cfc5ea5691cfbb7bb1a468675 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 8 Feb 2006 21:54:44 +0000 Subject: removed second inlet since it was unnecessary and bad form (the right inlet also caused output) svn path=/trunk/abstractions/purepd/; revision=4573 --- any_argument.pd | 39 ++++++++++++++++++--------------------- 1 file changed, 18 insertions(+), 21 deletions(-) (limited to 'any_argument.pd') diff --git a/any_argument.pd b/any_argument.pd index 40ed660..fbffad0 100644 --- a/any_argument.pd +++ b/any_argument.pd @@ -1,26 +1,23 @@ -#N canvas 160 301 515 350 10; -#X obj 189 234 outlet; -#X text 13 259 If the argument is not equal to 0 \, use it. Pd init +#N canvas 160 301 547 413 10; +#X obj 323 285 outlet; +#X text 18 316 If the argument is not equal to 0 \, use it. Pd init arguments to 0 so unused arguments will be 0; -#X obj 73 116 select 0; -#X text 12 296 This is useful to have internals inited \, but not reset +#X obj 73 166 select 0; +#X text 17 353 This is useful to have internals inited \, but not reset if there is no argument specified.; -#X obj 73 190 select 0; -#X text 205 172 if 2nd arg \, then use as default value; +#X obj 73 240 select 0; +#X text 183 225 if 2nd arg \, then use as default value; #X obj 73 13 inlet; -#X obj 189 13 inlet; -#X text 227 14 convenience inlet; -#X obj 73 96 list append \$1; -#X obj 73 169 list append \$2; -#X obj 73 55 bang; -#X obj 188 56 list; -#X text 194 74 arguments output symbols so this should too; -#X connect 2 0 10 0; +#X obj 73 146 list append \$1; +#X obj 73 219 list append \$2; +#X obj 74 73 route bang; +#X obj 73 48 list; +#X connect 2 0 8 0; #X connect 2 1 0 0; #X connect 4 1 0 0; -#X connect 6 0 11 0; -#X connect 7 0 12 0; -#X connect 9 0 2 0; -#X connect 10 0 4 0; -#X connect 11 0 9 0; -#X connect 12 0 0 0; +#X connect 6 0 10 0; +#X connect 7 0 2 0; +#X connect 8 0 4 0; +#X connect 9 0 7 0; +#X connect 9 1 0 0; +#X connect 10 0 9 0; -- cgit v1.2.1