Re: returning value in a function argument
Re: returning value in a function argument
- Subject: Re: returning value in a function argument
- From: Scott Ellsworth <email@hidden>
- Date: Wed, 17 May 2006 17:33:23 -0700
On May 17, 2006, at 5:27 PM, Angelo Chen wrote:
Thanks for the fast response, i tried NSMutableString,
not working too. my purpose is to return two NSString
from the function, using function result is not
enough, any other way to do this? thanks.
What about returning either an object made up of the two strings, or
an NSArray or NSDictionary with the two strings in it?
(BTW, did your mutable string code look something like:
void getInfo(NSMutableString * info){
[info setString:@"my info"];
}
I would have thought that would work if you wanted info to change.
Scott
_______________________________________________
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