[PD] resizing an array with a $0-name

Roman Haefeli reduzierer at yahoo.de
Fri Mar 11 16:53:20 CET 2005


----- Original Message -----
From: "IOhannes m zmoelnig" <zmoelnig at iem.at>


> et wrote:
> > hello,
> >
> > [56]
> > |
> > [;$0-array resize $1]
> > doesn't work because the $0-array is not interpreted as an array
name.... is
> > there a workable way to resize an array named with $0 ?

> to be short, you have to generate the $0 value with some [object] and
> expand it with $-args in the [message(
>
> like:
>
> [56\
> |
> [pack 0 $0]
> |
> [;$2-array resize $1(

or use:

[resize 56(
|
[s $0-array]

roman







More information about the Pd-list mailing list