[PD] convert var.len. list to targeted message

patco megalegoland at yahoo.fr
Sat May 20 01:17:29 CEST 2006



Hi, [addsemi( creates a ";" in message boxes, then you  can put your list with the "add" message into the message box. Like in  patch below:
  #N canvas 0 0 454 304 12;
  #X msg 150 187 addsemi;
  #X msg 136 240 \; target 1 2 3 4 \;;
  #X msg 119 22 list target 1 2 3 4;
  #X obj 122 119 t a b b;
  #X msg 186 156 set;
  #X obj 119 82 list trim;
  #X obj 119 54 prepend list add;
  #X connect 0 0 1 0;
  #X connect 2 0 6 0;
  #X connect 3 0 1 0;
  #X connect 3 1 0 0;
  #X connect 3 2 4 0;
  #X connect 4 0 1 0;
  #X connect 5 0 3 0;
  #X connect 6 0 5 0;
  
    how I can convert a variable length list into a targeted message?

maybe the question is more clear if I ask: how to transform these

[list mytarget 2 5 7 3(
[list my2ndtarget 5(

into the equivalent of these

[;
mytarget 2 5 7 3(
[;
my2ndtarget 5(


  

		
---------------------------------
 Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. Cliquez ici.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060520/8ba6fcba/attachment.htm>


More information about the Pd-list mailing list