hello,
how do I use names beginning with $0- in a message box without getting errors?
thanks,
alex
Hallo, alexandre matheson hat gesagt: // alexandre matheson wrote:
how do I use names beginning with $0- in a message box without getting errors?
How do you *want* to use $0 inside a message box?? It will not behave the way you maybe expect it to do.
Frank Barknecht _ ______footils.org__
_ __latest track: "plak" @ http://footils.org/cms/show/44
My guess is you want to do this:
[float $0] | [; $1-send message <
$1 gets replaced with $0, converting from $ object domain to $ message domain.
This is the same as sending "message" to a send named "$0-send"
B.
Frank Barknecht wrote:
Hallo, alexandre matheson hat gesagt: // alexandre matheson wrote:
how do I use names beginning with $0- in a message box without getting errors?
How do you *want* to use $0 inside a message box?? It will not behave the way you maybe expect it to do.
Ciao
Works great now, Thanks for the help guys. Attached is the fruits of my labor.
On Jeudi, août 4, 2005, at 07:17 am, B. Bogart wrote:
My guess is you want to do this:
[float $0] | [; $1-send message <
$1 gets replaced with $0, converting from $ object domain to $ message domain.
This is the same as sending "message" to a send named "$0-send"
B.
Frank Barknecht wrote:
Hallo, alexandre matheson hat gesagt: // alexandre matheson wrote:
how do I use names beginning with $0- in a message box without getting errors?
How do you *want* to use $0 inside a message box?? It will not behave the way you maybe expect it to do.
Ciao
<signature.asc>_______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
alexandre matheson wrote:
hello,
how do I use names beginning with $0- in a message box without getting errors?
thanks,
alex
hi.
if you want to address a $0-variable from within a message box, you will have to use the $0 as an argument for the message box. for example:
the $0 var is passed as the 2nd argument here
[nbx] | [pack f $0] | [; $2-foo $1( -> $2 becomes $0 (or whatever number it is assigned to)
does the same as
[nbx] | [s $0-foo]
hope that helps.
mfg charlie