NS_DURING and return
NS_DURING and return
- Subject: NS_DURING and return
- From: Stephane Sudre <email@hidden>
- Date: Mon, 13 Feb 2006 11:09:42 +0100
Stupid question:
Since the following code is not supported.
NS_DURING
return something;
NS_HANDLER
return anotherThing;
NS_ENDHANDLER
What other solutions exist?
1. using an intermediate var and moving the return outside the
NS_DURING. That is the solution I'm using.
2. Is NS_VALUERETURN what shall be used instead of return in such a
case?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden