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

IOhannes m zmoelnig zmoelnig at iem.at
Fri Mar 11 16:25:15 CET 2005

et wrote:
> hello,
> [56]
> |
> [;$0-array resize $1]
i always thought you need [messages( instead of [objects] to resize an 

> 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 ?

well, messages handle $n different than objects + there is no $0 in 
messages (if there was one, it should clearly be the identifier of the 
message instead of the "unique value")

to be short, you have to generate the $0 value with some [object] and 
expand it with $-args in the [message(


[pack 0 $0]
[;$2-array resize $1(


More information about the Pd-list mailing list