[Coco] I found an Extended BASIC bug probably everyone knows about already
William Astle
lost at l-w.ca
Mon Feb 17 23:20:46 EST 2025
On 2025-02-17 18:59, Juan Castro via Coco wrote:
> Octal constant (Ex.: &O14 = 12 decimal)
>
> It accepts 8 as a digit. D'oh. Try "PRINT &O18" in a CoCo 1 or CoCo 2.
>
> Without having a CoCo3 at hand to check I'll wager it patches that bug. All
> it has to do is replace a LBHI with a LBHS.
It's actually fairly well known in certain circles. It's mentioned in
the Unravelled series and there was at least one article in Rainbow that
mentioned it as I recall.
And, no, it wasn't fixed on the Coco 3. I doubt the people writing the
Coco 3 additions were even aware of it. Although they did patch &
handling to allow for 24 bit values instead of just 16 bit.
--
William Astle
More information about the Coco
mailing list