• 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: C question for you old guys ;-)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C question for you old guys ;-)


  • Subject: Re: C question for you old guys ;-)
  • From: Marcel Weiher <email@hidden>
  • Date: Sun, 8 Jun 2003 23:50:10 +0200

On Sunday, June 8, 2003, at 09:41 Uhr, David Cairns wrote:

On Sunday, June 8, 2003, at 03:34 PM, lbland wrote:

I tried it. it worked.

you haven't told the whole story.


true -- i should've just cut-and-pasted it in to mail, but i found that i had put a semicolon right after the if statement (so obviously it would 'return nil;' every time!

I've made it a habit ( "coding standard", if you will) to always use {} for if, while, for, etc.

Marcel


--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
f0249ab8b1af193ef5addcf39fdff5ca
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: C question for you old guys ;-) (From: David Cairns <email@hidden>)

  • Prev by Date: CFStreamClientContext
  • Next by Date: Re: Very newbie question
  • Previous by thread: Re: C question for you old guys ;-)
  • Next by thread: Re: C question for you old guys ;-)
  • Index(es):
    • Date
    • Thread