[PD] errors are not always fatal (was Re: Using [import])

IOhannes m zmoelnig zmoelnig at iem.at
Mon Sep 15 09:41:57 CEST 2008

IOhannes m zmoelnig wrote:
> well, yes and now.
> as said above, there is always the fallback thing.
> having [import mrpeach] without a "mrpeach" directory will (at the 
> worst) give you a warning (or error?). nevertheless Pd will still find 

just to re-stress this: an error does not always make your patch unusable!
i have done plenty of patches that happily lived witherrors (while ugly, 
they were expected)

to remove the ugliness, it would be nice to have a (built in!) way to 
"try" instantiating an object.
[try { import mrpeach } catch {}]

(with the catch-clause defining an alternative object to be instantiated)


More information about the Pd-list mailing list