marius schebella wrote:

>[s] was the only  one to send messages of variable size

and Mathieu Bouchard wrote

> If you are sending a variable number of elements then the [s] wins because
> the messagebox can't do it...


It is actually possible to send a variable-sized message with a message box, 
as illustrated in the attached patch.

This simple example may not work if you want to send both lists (starting 
with a symbol) and meta-messages and preserve the integrity of both, but I 
guess it could be improved, I just meant to keep it simple.

Am I using some 0.40-only feature? 

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 250 biglietti da visita Gratis + 42 modelli e Etichette per Indirizzo Gratis + 
Porta biglietti Gratis -Offerta limitata!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6783&d=16-8
#N canvas 231 86 718 506 12;
#X obj 232 142 list prepend;
#X text 201 2 any message of any length here;
#X msg 283 219 set \, add;
#X obj 232 178 t b a b;
#X obj 246 265 list prepend add;
#X obj 511 336 r xxx;
#X obj 511 363 print;
#X msg 337 92 xxx;
#X text 335 71 receiver name here;
#X obj 246 290 list trim;
#X msg 200 25 6 7 foo bar;
#X msg 232 366;
#X connect 0 0 3 0;
#X connect 2 0 11 0;
#X connect 3 0 11 0;
#X connect 3 1 4 0;
#X connect 3 2 2 0;
#X connect 4 0 9 0;
#X connect 5 0 6 0;
#X connect 7 0 0 1;
#X connect 9 0 11 0;
#X connect 10 0 0 0;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to