[PD] changing values in unique tables/arrays

Frank Barknecht fbar at footils.org
Mon May 16 13:34:10 CEST 2005


Hallo,
Frank Barknecht hat gesagt: // Frank Barknecht wrote:

> The solution in your case actually is very simple: Use a sender object
> to write to the table: [s $0-readme]. Or [tabwrite $0-readme]. Or
> (more complicated, but also more flexible): 
>             
>             [symbol $0-readme]
>             |
>             [makefilename pd-%s]

Ah, sorry, this might be a bit confusing: You don't need the
makefilename stuff for sending to a table as in your example. But the
[makefilename pd-%s] is a common idiom for doing dynamic scripting
where you want to use a [pd $0-subpatch] as target and need a sender
like "[s pd-$0-subpatch]" which cannot be done with the normal [s]
object.

Ciao
-- 
 Frank Barknecht                               _ ______footils.org__
             
          _ __latest track: "scans" _ http://footils.org/cms/show/41




More information about the Pd-list mailing list