Hi, Alex, thanks for your replies !

Ok, I can improve help files, can you open an issue for we to discuss it in https://github.com/pure-data/pddp ? It is still vague how you want this improved

After going through your answers and other examples again, i finally found the cause of my confusion.

In the [array define] help patch the method of remote receive objects is introduced, withe the object [array size -s float-array z] as a possible receiver.

What i didn't understand is that said objkect needs the "-s float-array z" argument to work this way. Could this be explained in the help patch ?

Why those specific arguments and how would a normal user know of them ?

(As for [text], those arguments would be "-s text t" to make things even more confusing ;-))

Anyway: Attached you will find a working patch for what i was trying to achieve - make [array] work with just it's pointer as a reference - without having to give it a specific name.

Thanks, Alex, you pointed me in the right direction ;-)
Maybe the deeper knowledge behind all this is better left in the obscure after all ;-)

Best

Oliver
#N canvas 130 130 453 201 10;
#X text 83 129 what does "float-array z" mean ? why those specific arguments ?, 
f 33;
#X obj 266 70 array define;
#X obj 41 110 array sum -s float-array z;
#X obj 266 94 t p;
#X obj 60 78 array set -s float-array z;
#X obj 41 54 t b l b;
#X floatatom 41 136 5 0 0 0 - - - 0;
#X msg 41 26 12 13 14 15;
#X text 122 26 calcualte the sum of these floats;
#X connect 1 0 3 0;
#X connect 2 0 6 0;
#X connect 3 0 2 2;
#X connect 3 0 4 2;
#X connect 5 0 2 0;
#X connect 5 1 4 0;
#X connect 5 2 1 0;
#X connect 7 0 5 0;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to