^^ binary operator in basic stamp
dorad
Posts: 3
in BASIC Stamp
We need to mantain an old *.bas file (BASIC stamp) which worked before.
it contains the following line:
it contains the following line:
if (x^^y) then
We don't know what is the meaning of "^^" binary operator. The person who wrote it doesn't remember also. we know that a single "^" is XOR and that "^/" is XNOR. It's quite complicated to try to test it on the board.
Comments
Hi
Download the Basic Stamp Editor and look in Help section.
or
Look in the What' a Microcontroller .PDF book.
https://www.parallax.com/sites/default/files/downloads/28123-Whats-a-Micro-v3.0.pdf
Posting the code may help fix the error.
They would have to have been blown apart since they fell different directions.
What does your program do and how old is it?
Is there another copy of the program or an old print-out?
No no no, they were leaning on each other, then they fell in opposite directions.
Please post the rest of the program. Maybe we can figure out what's supposed to be there from the context.
-Phil
It was a logical XOR.