[Coco] I found an Extended BASIC bug probably everyone knows about already

Allen Huffman alsplace at pobox.com
Mon Feb 17 21:35:31 EST 2025


On Feb 17, 2025, at 7:59 PM, Juan Castro via Coco <coco at maltedmedia.com> 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.


I doubt many of us know about it. Did anyone here ever have a use for OCTAL?

Juan, good catch. I will say that I did see Octal in the wild. A synthesizer keyboard I had used banks and patches. The numbers went 1-8, if I recall, so it was Octal :) 1-1 to 8-8.

Crazy.

Now I gotta go blog…

--
Allen Huffman - PO Box 7634 - Urbandale IA 50323 - 515-999-0227 (vmail/TXT only)
http://www.subethasoftware.com - https://www.facebook.com/subethasoftware




More information about the Coco mailing list