[PD] Preset management for Pd Vanilla

Jonathan Wilkes jancsika at yahoo.com
Thu Jan 21 21:47:42 CET 2021

Em qui., 21 de jan. de 2021 às 14:33, Alexandre Torres Porres <porres at gmail.com> escreveu:

> hmm, here's something I wasn't thinking, how to allow one to use the system inside abstractions.
IIRC, the symbolic name given as an argument to preset_hub sets the scope for all the preset_node objects with the same name in that canvas (or inside any child abstractions, so long as they don't include their own preset_hub inside with the same name). So basically the same way 'var' sets scope in Javascript. That's why "$0" isn't needed.
Digression-- there's also a new [ab] class in Purr Data which saves abstractions with the parent file, and it uses a "canvas private" scoping mechanism so that "$0" isn't needed. (Although in that case, file-level abstractions are in their own scope for the sake of sanity.)
I find it really handy and would like to find a way to make struct names similarly scoped. (Perhaps with a flag.)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210121/3343164e/attachment-0001.html>

More information about the Pd-list mailing list