I read:
is there anyway to dynamically 'set' the object that receive is receiving?
Use receive13 from the ext13 external collection available in the pure-data.sf.net-CVS.
maxlib's dist is probaly safer but:
#N canvas 474 187 253 177 10; #X obj 123 91 r foo; #X floatatom 123 121 5 0 0 0 - - -; #X obj 45 85 pack s f; #X msg 45 59 foo $1; #X floatatom 45 34 5 0 0 0 - - -; #X msg 45 111 ; $1 $2; #X connect 0 0 1 0; #X connect 2 0 5 0; #X connect 3 0 2 0; #X connect 4 0 3 0;
might just explain what you need anyway,
HTH,
x