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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list