[PD] exiting function in external

Miller Puckette via Pd-list pd-list at lists.iem.at
Tue Jun 17 08:21:46 CEST 2014


When I was a kid we used setjmp to do this... I see it's still around
now and might be what you need.

cheers
M

On Tue, Jun 17, 2014 at 01:17:10AM -0500, Jaime E Oliver via Pd-list wrote:
> Hi all, 
> 
> I am writing a long and complex external. 
> 
> There are several conditions in which a particular function could fail and in any of those cases I'd like to report the error and stop the execution of the function.
> 
> I tried using the exit() function, but that quits pd, and what I really need is for the function to simply stop.
> 
> Does pd have a function for doing this?
> 
> best,
> 
> J
> 
> 
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



More information about the Pd-list mailing list