View Single Post
Old 04-17-07 | 06:23 PM
  #125  
Brian Ratliff's Avatar
Brian Ratliff
Senior Member
20 Anniversary
 
Joined: May 2002
Posts: 10,123
Likes: 4
From: Near Portland, OR

Bikes: Three road bikes. Two track bikes.

The inclusive OR is used in computer programming because it is a simpler instruction and the exclusive form can be created using a combination of ORs and ANDs. The function looks first at the first argument: if it returns TRUE, then the function returns TRUE, regardless of the state of the second argument. If the first argument returns FALSE, then the function progresses to the second argument. If the second argument returns TRUE, then the function returns TRUE. If the second argument returns FALSE, then the function returns FALSE and ends.

So, you can see, the second argument doesn't get evaluated at all unless the first argument is false. Hence, HH's confusion. He is a computer programmer (I think), so he only deals with the inclusive OR. But, as been pointed out, plain language interprets "or" as a disjunctive word; hence, the exclusive form.
__________________
Cat 2 Track, Cat 3 Road.
"If you’re new enough [to racing] that you would ask such question, then i would hazard a guess that if you just made up a workout that sounded hard to do, and did it, you’d probably get faster." --the tiniest sprinter
Brian Ratliff is offline  
Reply