开发者

logical Operators in objective C? [closed]

It's diffi开发者_如何学编程cult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 12 years ago.

Logical Operators in objective c language?


Random stab in the dark at what you're asking:

yes, Objective-C has logical operators. They are exactly the same as in C

&& is and
|| is or
! is not

so an expression !a || b can be read as "(not a) or b"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜