Hi, dear list !

I know that there are alternatives to the illustrated problem, but i just wanted to point out (haha), that the "pointer" method for [array] objects is hardly documented and actually seems to be not working at all.

While said method works fine for [text], i have to say that [text]'s help patches would also benefit from a demonstration of that feature.

I personnaly find it very handy to be able to use [text] (or [array]) for local tasks only without having to worry about naming issues (duplicates etc.).

In my attached example, i was working on a simple vanilla-based binary-to-digital converter and i wanted to use [array sum] as a handmade [accum] object. While the "naming" method with array obviously works, the "pointer" method either doesn't or i don't understand it.

Thanks for any clarifications (and yes, i am aware of other vanilla and externalized methods to achieve this - but i try to understand [array]'s pointer logic)

Best

Oliver



--
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
/////////////// http://oliver.klingt.org ///////////////
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

#N canvas 645 21 450 353 10;
#X obj 43 30 tgl 16 0 empty empty empty 0 -8 0 10 #fcfcfc #000000 #000000 0 1;
#X obj 89 95 pow 0;
#X msg 89 73 2;
#X obj 62 72 *;
#X floatatom 62 93 3 0 0 0 - - - 12;
#X obj 43 51 t b f f;
#X obj 43 137 pack 0 0 0 0 0, f 43;
#X obj 130 30 tgl 16 0 empty empty empty 0 -8 0 10 #fcfcfc #000000 #000000 0 1;
#X msg 176 73 2;
#X obj 149 72 *;
#X floatatom 149 93 3 0 0 0 - - - 12;
#X obj 130 51 t b f f;
#X obj 223 29 tgl 16 0 empty empty empty 0 -8 0 10 #fcfcfc #000000 #000000 0 1;
#X msg 269 72 2;
#X obj 242 71 *;
#X floatatom 242 92 3 0 0 0 - - - 12;
#X obj 223 50 t b f f;
#X obj 314 28 tgl 16 0 empty empty empty 0 -8 0 10 #fcfcfc #000000 #000000 0 1;
#X msg 360 71 2;
#X obj 333 70 *;
#X floatatom 333 91 3 0 0 0 - - - 12;
#X obj 314 49 t b f f;
#X obj 176 95 pow 1;
#X obj 269 94 pow 2;
#X obj 360 93 pow 3;
#X obj 43 208 t b l b;
#X floatatom 43 304 5 0 0 0 - - - 0;
#X obj 94 229 t p;
#X obj 94 208 array define 10;
#X obj 62 256 array set -s;
#X obj 43 283 array sum -s;
#X text 66 189 not working;
#X obj 214 207 t b l b;
#X floatatom 214 283 5 0 0 0 - - - 0;
#X text 311 189 working;
#X obj 277 206 array define \$0-a 10;
#X obj 233 235 array set \$0-a;
#X obj 214 262 array sum \$0-a;
#X connect 0 0 5 0;
#X connect 1 0 3 1;
#X connect 2 0 1 0;
#X connect 3 0 4 0;
#X connect 4 0 6 1;
#X connect 5 0 6 0;
#X connect 5 1 3 0;
#X connect 5 2 2 0;
#X connect 6 0 25 0;
#X connect 6 0 32 0;
#X connect 7 0 11 0;
#X connect 8 0 22 0;
#X connect 9 0 10 0;
#X connect 10 0 6 2;
#X connect 11 0 6 0;
#X connect 11 1 9 0;
#X connect 11 2 8 0;
#X connect 12 0 16 0;
#X connect 13 0 23 0;
#X connect 14 0 15 0;
#X connect 15 0 6 3;
#X connect 16 0 6 0;
#X connect 16 1 14 0;
#X connect 16 2 13 0;
#X connect 17 0 21 0;
#X connect 18 0 24 0;
#X connect 19 0 20 0;
#X connect 20 0 6 4;
#X connect 21 0 6 0;
#X connect 21 1 19 0;
#X connect 21 2 18 0;
#X connect 22 0 9 1;
#X connect 23 0 14 1;
#X connect 24 0 19 1;
#X connect 25 0 30 0;
#X connect 25 1 29 0;
#X connect 25 2 28 0;
#X connect 27 0 29 2;
#X connect 27 0 30 2;
#X connect 28 0 27 0;
#X connect 30 0 26 0;
#X connect 32 0 37 0;
#X connect 32 1 36 0;
#X connect 37 0 33 0;
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to