Re: How to interrupt a function
Re: How to interrupt a function
- Subject: Re: How to interrupt a function
- From: "I. Savant" <email@hidden>
- Date: Wed, 30 Nov 2005 09:35:41 -0500
How about "return;"?
--
I.S.
On Nov 30, 2005, at 9:33 AM, Andrea Salomoni wrote:
Hi to all,
I need a simple way to interrupt a function returning void.
-(void)method:(NSString*)aString
{
if (condition)
{
}
else
{
something like exit....
}
}
Anyone can tell me how to do?
Thank you all
Andrea
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
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