I believe \ recover is the word for that.
\ try is built on top of recover.
There's also \ cleanup , but because that rethrows the error it might not be 
for you.
I'm not sure what you need. If you want to handle the error and continue 
executing, then use \ recover. If you want to cleanup before (re)throwing the 
error, use \ cleanup .

rien


On Dec 5, 2011, at 11:50 AM, Michele Pes wrote:

> Hi!
> In my latest factor source, I encountered copy-file, which takes 2 input
> strings.
> At first I used recover, but the try quot takes 1 argument only.
> My question is:
> Which is the best way to handle a copy-file error?
> Or better: Which is the best way to catch errors thrown by quotations
> that take n input from stack?
> 
> Thank you all,
> michele pes
> 
> 
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure 
> contains a definitive record of customers, application performance, 
> security threats, fraudulent activity, and more. Splunk takes this 
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to