Re: And/ Or in One
- Posted by Mike <vulcan at win.co?nz> Jul 08, 2007
- 560 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. Andy, As you (should) know OR has the same effect as our english expression "either or". In other words if one or both elements are True then proceed..otherwise don't. Eg, 1 or 0 -- TRUE 1 or 1 -- TRUE 0 or 1 -- TRUE 0 or 0 -- FALSE Why don't construct a Truth Table (like this one) to explain what you are after? regards, Mike