Re: complex Q bug

2006-03-31 Thread mateja
If you want boolean OR, you should use 'or'. The pipe is a bitwise operator, and it logically ORs the two bit-strings. Same thing with ampersand, which is the bitwise AND. Mateja --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: complex Q bug

2006-03-31 Thread Jacob Kaplan-Moss
On Mar 31, 2006, at 10:46 AM, Don Arbow wrote: > On Mar 31, 2006, at 8:05 AM, sam wrote: >> I was trying complex Q and notices if I do: >> >> complex=(Q1 | Q2) >> >> and >> >> complex = (Q1 or Q1) >> >> the results are not the same. I got right result using "or" but not >> with "|". Is this a bug

Re: complex Q bug

2006-03-31 Thread Don Arbow
On Mar 31, 2006, at 8:05 AM, sam wrote: > I was trying complex Q and notices if I do: > > complex=(Q1 | Q2) > > and > > complex = (Q1 or Q1) > > the results are not the same. I got right result using "or" but not > with "|". Is this a bug or I did something wrong? What is the > difference between

complex Q bug

2006-03-31 Thread sam
I was trying complex Q and notices if I do: complex=(Q1 | Q2) and complex = (Q1 or Q1) the results are not the same. I got right result using "or" but not with "|". Is this a bug or I did something wrong? What is the difference between these two operators? --~--~-~--~~---