Re: Or
Re: Or
- Subject: Re: Or
- From: Matthew Cox <email@hidden>
- Date: Fri, 5 Oct 2001 19:54:35 -0400
||. Or, in your example:
while ( (secFibi != 0) || (fibi != 1) )
Those || are the result of shift-fowardslash (under the delete key,
above return)
Also, if you mean 0 as false, and 1 as true, generally NO and YES
perform the same function.
And BOOL is the Objective-C type for Boolean Logic.
On Friday, October 5, 2001, at 07:40 PM, email@hidden wrote:
How do I say "or" in objective-C? I've read books, but can't find the
key combo, and just typing in or doesn't work.
Example: while (secFibi != 0 or fibi != 1)
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
References: | |
| >Or (From: email@hidden) |