[Coco] replicating bitwise operators in BASIC

Brett Gordon beretta42 at gmail.com
Thu Sep 8 23:54:22 EDT 2016


BASIC gurus:

In noodling with Jim's test code for the CoCoNIC, I realized the lack of
bitwise AND, XOR, OR, etc. in coco BASIC.  What's the orthodox way of
replicating these operators that are so customary in other languages?  I
remember loads of head scratching in Lua, which like our BASIC, also lacks
basic bitwise functions and converts all numbers to floats.

brett


More information about the Coco mailing list