• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Returning a value from a function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Returning a value from a function


  • Subject: Re: Returning a value from a function
  • From: Stuart Green <email@hidden>
  • Date: Tue, 8 Apr 2008 10:57:47 +0100

Thanks to everyone who contributed on this - have got it working well now and have implemented all tips. Working on the array idea now as I quite like it.

All advice appreciated - every day is a school day!

Cheers,

Stu

On 8 Apr 2008, at 09:52, Bryan Henry wrote:

Also, according to your code at the bottom here, you want to return a value from a METHOD not a function.

Mike.

That's splitting hairs just a little. Most people use the terms interchangeably, at least informally, and trying to introduce the distinction just for the sake of it has the potential to confuse things.


Bryan

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Returning a value from a function (From: Stuart Green <email@hidden>)
 >Re: Returning a value from a function (From: Bryan Henry <email@hidden>)
 >Re: Returning a value from a function (From: Mike Abdullah <email@hidden>)
 >Re: Returning a value from a function (From: Bryan Henry <email@hidden>)

  • Prev by Date: Re: NSString format parameter order
  • Next by Date: Re: NSString format parameter order
  • Previous by thread: Re: Returning a value from a function
  • Next by thread: Re: Returning a value from a function
  • Index(es):
    • Date
    • Thread