[Coco] replicating bitwise operators in BASIC

Arthur Flexser flexser at fiu.edu
Sat Sep 10 22:37:36 EDT 2016


On Sat, Sep 10, 2016 at 8:06 PM, James Jones <jejones3141 at gmail.com> wrote:

> Thanks--you answered one of the questions I had. I'll have to fire up an
> emulator and see what Color BASIC does with
>
> X = 1.5
> Y = 3.25
> PRINT X AND Y
>
> The result is 1.  Apparently, fractions are discarded in computing an AND,
which seems to me like the most appropriate way to do it.

Art


More information about the Coco mailing list