Re: And/ Or in One

new topic     » goto parent     » topic index » view thread      » older message » newer message

Mike wrote:
> 
> 
> 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

Oops,

or is "and or"
xor is "either or"

sorry.

Mike

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu