Re: And/ Or in One
- Posted by Robert Craig <rds at RapidEuphor?a.com> Jul 08, 2007
- 553 views
Andy wrote: > Is there a command in Euphoria that allows for the and/or command to be one. > > Like saying if event here then attack him and/or her. I hope I am making > enough > senese. Its it like xor or something. I'm sorry, if I'm confusing, but I'm > trying > to explain it as well. The Euphoria "or" is equivalent to the English "and/or". In English, people say "and/or" to stress that A or B or both could be true. In English "or" can also mean "and/or", but it's a bit ambiguous sometimes. In English we often say something that is logically ambiguous because we are talking to another human, not a computer. Two humans will often have a common understanding of the context in which something is said, and it may be obvious whether both A and B could both be true, or not. Thus it is humorous when someone asks, e.g. Q: "Are you going to keep working here, or quit?" A: "Yes" People realize that the answer is logical, but funny (or sarcastic), because both parties know that A and B is not possible, so the person replying is expected to choose one of them. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com