Trying to understand operators.
CalvinBreen
Posts: 7
in Propeller 1
Hi again Smart People,
SPIN is kicking my butt a bit. My past experience is ZX Spectrum BASIC. In simple English would someone please decipher this so I may wrap my head around how I would have done it in BASIC?
x_value = x1+(x1->2)+(x1->4)
Any help would be appreciated.
Thank you.
SPIN is kicking my butt a bit. My past experience is ZX Spectrum BASIC. In simple English would someone please decipher this so I may wrap my head around how I would have done it in BASIC?
x_value = x1+(x1->2)+(x1->4)
Any help would be appreciated.
Thank you.
Comments
John Abshier
KB
It looks like a tilde (~) which I've seen mostly used to sets I/O pins to High and Low values.
All of the Spin operators are listed on Page 144 of the Propeller Manual.
https://www.parallax.com/sites/default/files/downloads/P8X32A-Web-PropellerManual-v1.2.pdf
You can see from the table that there are 3 tilde operators which are explained in detail on Pages 156 to 159.
yeah, be careful, it is addictive...
Enjoy!
Mike
So true, but it's a healthy addiction.