[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: return intermediate result from interrupted/failed function?
From: |
novakyu |
Subject: |
Re: return intermediate result from interrupted/failed function? |
Date: |
Wed, 28 Nov 2007 18:51:43 -0800 |
On Nov 28, 2007 6:43 PM, John W. Eaton <address@hidden> wrote:
> | Is there any way to have a function return the current value even on a
> | ... not completely-successful call?
>
> Try saving the values you care about in a global variable in the
> cleanup block.
>
> jwe
>
I was hoping to avoid that ('a little worried about clobbering
something accidentally), but from your description of how interrupt is
handled, I guess that's the only way.
Thanks,
Andrzej