[PD] $0 local names
pix
pix at test.at
Tue Mar 11 16:35:13 CET 2003
$n is treated differently in message objects, ie. [blah( ....
in a message object, $n means the n'th argument of the list send into the
inlet of the message (starting from $1. $0 appears to be always 0)
you need to do something like
[f $0] -> [; $1-array bla(
bang the [f], which send the value of $0 to the first argument of the
message (which you access inside the message with $1). the end result
being that you send "bla" to $0-array.
pix.
On 11 Mar 2003 15:47:35 +0100
Miha Tomsic <miha.tomsic at guest.arnes.si> wrote:
> Hello!
>
> I am trying to make a series of patches for a performance and am having
> some problems with $0 names.
>
> I need local s/r, throw~/catch~, arrays and delread/delwrite/vd.
>
> It works fine except with the arrays there are some problems.
>
> [s $0-array] with [normalize( or [const 0.5( works fine, but the
> messages like this, don't work:
>
> |; /
> |$0-array normalize \
>
> error: 0-array: no such object
>
> I was browsing the sources, but can't find where this is located.
>
> pd 0.36.0, Linux
>
> Take care,
>
> Miha...
>
>
> _______________________________________________
> PD-list mailing list
> PD-list at iem.kug.ac.at
> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
More information about the Pd-list
mailing list