AND function help
El Paisa
Posts: 375
It is possible in Pbasic this expression?
Btn = K AND &H3F
Thanks in advanced.
Btn = K AND &H3F
Thanks in advanced.
Comments
·
if K AND &H3F then goto (gosub) nnn
My question is how you code·· Btn = K AND &H3F·in Pbasic
The operator & is Stampese bitwise AND in expressions.
The $ designates a HEX value.
The help menu shows this in the section of math operators.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com