Re: logical (! object) vs (object != nil)
Re: logical (! object) vs (object != nil)
- Subject: Re: logical (! object) vs (object != nil)
- From: "Alastair J.Houghton" <email@hidden>
- Date: Tue, 26 Aug 2003 10:31:23 +0100
On Tuesday, August 26, 2003, at 12:33 am, Marco Scheurer wrote:
On Tuesday, August 26, 2003, at 12:46 AM, Alastair J.Houghton wrote:
On Monday, August 25, 2003, at 07:39 pm, Anders Totland wrote:
I have a (C noob) question. Are the two statements (! object) and
(object != nil) the same statement, with identical meaning?
They are expressions and not statements, but yes, they are identical
(since nil is zero).
I know it's a typo but as written, they are the opposite of each other.
Good point ;-) It's amazing how easy it is to read what you *think*
something says.
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.