[Coco] Re: BASIC irony

Richard E. Crislip rcrislip at neo.rr.com
Thu Aug 12 03:27:41 EDT 2004


Hello tim

On 08/12/2004, tim lindner wrote:
> I am in the process of writing a tokenizer/de-tokenizer for Boisy's CoCo
> Tools project and I have run accross something interesting.
> 
> Everyone knows that the apostrophe is a short cut for the REM keyword.
> The the irony is that the apostrophe is tokenized as two bytes where the
> REM keyword is tokenized as one.
> 
> BASIC changes the apostrophe to a colon-apostrophe. I would guess the
> interrupter can only handle an apostrophe at the beggining of a new
> statement.
> 
> During a LIST command BASIC drops the initial colon, so it is never
> displayed.
> 
> tim lindner

Hummm.... here all this time we thought we were saving space 8-)

Regards
-- 
Criusing on AutoPilot                       |
        With an Amiga           ---o-o-O-o-o---  and a CoCo




More information about the Coco mailing list