Personal tools
You are here: Home members saturno dyncatch~
Document Actions

dyncatch~

Like throw~ and catch~ but allows one throw~ to send to more than one catch~ (not the other way around).

Like throw~ and catch~ but allows one throw~ to send to more than one catch~ (not the other way around).

Uses dynamic object creation. Requires PD-Extended, tested with version 0.40.3.

Example:
[dynthrow~ test]
[dyncatch~ test] [dyncatch~ test]

This example will create two sets of throw~ and catch~. One will be assigned the name test.1 and the other test.2. A third dyncatch~ would create a test.3 and so on.

If one of dyncatches is removed the dynthrow~ will not remove it's corresponding catch~ (couldn't figure it out). It's a little annoying because PD will start sending errors to the console, but if another dyncatch~ is created the dynthrow~ will assign it to that available throw~.

It doesn't matter whether your create the dynthrow~ before or after it's corresponding dyncatch~.

by Paulo last modified 2009-08-02 03:39 AM

Powered by IEM Powered by Plone Section 508 WCAG Valid XHTML Valid CSS Usable in any browser