Re: if statement
Re: if statement
- Subject: Re: if statement
- From: Nathan <email@hidden>
- Date: Tue, 27 May 2008 17:28:31 -0400
Thanks.... I always always always forget that lol.
On May 27, 2008, at 5:25 PM, Hal Mueller wrote:
On May 27, 2008, at 2:24 PM, Nathan wrote:
if (OB=1) {
That's an assignment statement. In particular, it's an assignment
statement that will always return true. You want (OB==1) or (1==OB).
H
_______________________________________________
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