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
Hallo, Matteo Sisti Sette hat gesagt: // Matteo Sisti Sette wrote:
Am I using some 0.40-only feature?
I think not, because your approach was the one used in the past, when [send] wasn't settable yet. But anyway: I also think, you're cheating, ecause you're actually changing the message box and thus creating many different message boxes on the fly, while the [s] isn't changed for variable length lists.
Frank Barknecht _ ______footils.org_ __goto10.org__
On Thu, 16 Aug 2007, Frank Barknecht wrote:
Matteo Sisti Sette hat gesagt: // Matteo Sisti Sette wrote:
Am I using some 0.40-only feature?
I think not, because your approach was the one used in the past, when [send] wasn't settable yet. But anyway: I also think, you're cheating, ecause you're actually changing the message box and thus creating many different message boxes on the fly, while the [s] isn't changed for variable length lists.
A messagebox is a messagebox. Unlike objectboxes, they are not magically recreated. Instead, the internal binbuf gets cleared. Sending "set" messages to messageboxes isn't much different from sending a float to a [hsl] or [nbx] in "init" mode... and even in "no init" mode, if you look at saved files closely.
I think you need some categorisation of state with more than two levels, e.g.:
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
On Aug 16, 2007, at 11:49 PM, Frank Barknecht wrote:
Hallo, Matteo Sisti Sette hat gesagt: // Matteo Sisti Sette wrote:
Am I using some 0.40-only feature?
I think not, because your approach was the one used in the past, when [send] wasn't settable yet. But anyway: I also think, you're cheating, ecause you're actually changing the message box and thus creating many different message boxes on the fly, while the [s] isn't changed for variable length lists.
It would be very useful to have the settable sends documented.
Anyone up for editing the PDDP help patches and adding examples of
this? It is also missing from Miller's help patch.
Here are the files in question:
doc/pddp/send-help.pd doc/pddp/all_about_send_n_receive.pd
I didn't even realize that settable sends were implemented until now.
.hc
Ciao
Frank Barknecht _ ______footils.org_ __goto10.org__
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
There is no way to peace, peace is the way. -A.J. Muste