[PD-dev] throwing a pd_error() in a Pd patch

Mathieu Bouchard matju at artengine.ca
Wed Nov 28 15:55:02 CET 2007


On Wed, 28 Nov 2007, Hans-Christoph Steiner wrote:

> I was just thinking, it would be handy to be able to throw findable 
> pd_error()s from within an abstraction.  Does anything like this exist? 
> If not, I'll write one.  It should be just a matter of calling 
> pd_error(), right?

In Pd it's a matter of calling pd_error().

In Dd, you can call either pd_error() or error(), it's all the same. Dd's 
pd_error() ignores the extra argument. The error is findable by checking 
the last method that has been called before the error, instead of whatever 
is passed in pd_error().

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada


More information about the Pd-dev mailing list