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
declare-test.tgz
Description: GNU Unix tar archive
_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list