Re: pointer value into floating point value???HELP???
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.