Hello, this abs is very simple and usefull, thanks, also something is missing for having a real non-local shared list, particulary for dynamic creation of [list-value] instances, the modification is in the attached patch.
Frank Barknecht a écrit :
Hallo, Patco hat gesagt: // Patco wrote:
Frank Barknecht a écrit :
What's a "non-local shared list"?
Hi, I was looking for an object like [value] but for heterogenous list, and in the pd documentation [value] is called a "non-local shared value", so I've found out that the term of what I am looking for is a "nonlocal shared heterogeneous list".
I see. [sssad] is a good contender for this, and actually [sssad] started from a discussion here about [pvar] from Max.
Attached is a simplified version of the basic idea.
Ciao
#N canvas 250 247 513 324 10; #X obj 65 225 list; #X obj 88 193 r $1; #X obj 121 132 s $1; #X obj 65 279 outlet; #X obj 65 130 b; #X obj 65 81 inlet; #X obj 65 104 route bang; #X obj 224 30 r $1-i; #X obj 280 116 s $1-i; #X obj 255 59 loadbang; #X obj 224 192 list; #X obj 243 168 r $1; #X obj 224 219 s $1; #X obj 224 144 spigot; #X obj 255 81 t b b; #X msg 255 115 1; #X text 115 10 recalls the list if another instance has been created first; #X connect 0 0 3 0; #X connect 1 0 0 1; #X connect 4 0 0 0; #X connect 5 0 6 0; #X connect 6 0 4 0; #X connect 6 1 2 0; #X connect 7 0 13 0; #X connect 9 0 14 0; #X connect 10 0 12 0; #X connect 11 0 10 1; #X connect 13 0 10 0; #X connect 14 0 15 0; #X connect 14 1 8 0; #X connect 15 0 13 1;