[PD] variables for lists with unknown length

Marius Schebella marius.schebella at chello.at
Sun Oct 24 19:45:41 CEST 2004


> I'm not sure, I understand what you mean, but you can temporarily
> store variable lists in [lister]. But I suppose that is not what you
> mean.

I have a message with
[one two $1 and the rest(
and want to replace the  $1 with a list of variable elementnumber.

>> And I think it would be nice, if there was a possibilty to access to the
>> local $0, $1... variables of a patch within a message(!). like
>> [this message includes $$0 and $$1(.
>
> You can emulate this in almost all cases with [f $1] or [symbol
> $1],...  then send it to a message, which has $1,... in it.  [pack] is
> your best friend there.

I find it much easier to have access from within the message itself than 
having a pack, into which I load all the local variables with [loadbang] - 
[f $1]... which I have to trigger everytime I want to change an element of 
it. and then send it to a message and replace all the local variables from 
the packed list to message variables $1 $2 $3...

marius. 





More information about the Pd-list mailing list