[PD] how to replace a value in all subpatches

IOhannes m zmölnig via Pd-list pd-list at lists.iem.at
Sat May 31 18:42:02 CEST 2014


On 05/31/2014 02:06 AM, Ronni Montoya via Pd-list wrote:
> Hi, i have a big patch with a lot of subpatches and i need to
> automatically change all the messages [2.29(     with  [2.30(  in all
> the subpatches.
> 
> Is there any way to automatically replace a message value in
> allsubpatches of a patch?

no.
but this is what we have abstractions for: code re-use.

if you have code that is used more often than once (1x), you should
learn about abstractions and not use subpatches.

or use david's suggestion of opening the patch in a text-editor and do a
search-and-replace.

fgamrds
IOhannes


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 880 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140531/9010ecfc/attachment.sig>


More information about the Pd-list mailing list