开发者

Classic ASP "or" keyword

I was just wondering - is the or keyword exclusive?

I mean like given the following:

if x or y then

Would this return true if both开发者_开发问答 x and y were true? Or is it that one or the other but not both has to be true to execute the code inside the if?


The standard OR operator is NOT exclusive: True or True gives True.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜