• 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: pointer value into floating point value???HELP???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pointer value into floating point value???HELP???


  • Subject: Re: pointer value into floating point value???HELP???
  • From: "Alastair J.Houghton" <email@hidden>
  • Date: Thu, 28 Aug 2003 15:23:52 +0100

On Thursday, August 28, 2003, at 02:54 pm, Jonathan E. Jackel wrote:

On the other hand, if we have the slightest doubt about whether there is
such an object in the dictionary we should do something like this:

timerValue = [dictws1 objectForKey: @"R"];
ws1R = timerValue ? [timerValue intValue] : 0;

No need for that; messages sent to nil will return zero anyway.

Kind regards,

Alastair.
_______________________________________________
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.

  • Follow-Ups:
    • RE: pointer value into floating point value???HELP???
      • From: "Jonathan E. Jackel" <email@hidden>
References: 
 >RE: pointer value into floating point value???HELP??? (From: "Jonathan E. Jackel" <email@hidden>)

  • Prev by Date: Re: pointer value into floating point value???HELP???
  • Next by Date: Re: pcap programming
  • Previous by thread: RE: pointer value into floating point value???HELP???
  • Next by thread: RE: pointer value into floating point value???HELP???
  • Index(es):
    • Date
    • Thread