[PD] benevolent dictator? (was: 2d multiple preset interpolation?)

Frank Barknecht fbar at footils.org
Tue Jul 13 13:18:48 CEST 2010


Hi,

On Tue, Jul 13, 2010 at 12:43:08PM +0200, Roman Haefeli wrote:
> Last time I checked, [declare] indeed was working inside abstractions.

Depends on what you call "working" ...

Quoting the help file: 

    WARNING: you might want to avoid putting "declare"
    statements inside abstractions, as their effects will
    extend to the calling patch. As of version 0.41, "declare
    path" is ignored inside abstractions, although, probably
    unwisely, "-stdpath" takes effect (on the calling patch as
    well as the abstraction.)

Attached is an example showing where declare in abstractions fails: 
Open abstraction-help.pd, then click "abs/abstraction" to see an object
not created, although it's in the [declare]ed path. Open
abs/abstraction.pd directly then: now the object creates.

Also see the source for abstraction-help.pd to spot the "#X
declare"-pollution.

Note: Made with 0.42, maybe it's fixed in 0.43.

Ciao
-- 
Frank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: declare-test.tgz
Type: application/x-gtar
Size: 366 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100713/5d790c9a/attachment.tgz>


More information about the Pd-list mailing list