[Coco] Tokenized Basic

Francis Swygert farna at att.net
Wed Mar 15 07:38:27 EDT 2017


Date: Tue, 14 Mar 2017 15:10:04 -0700
From: "Mark D. Overholser" <marko555.os2 at gmail.com>

On 14-Mar-17 14:55, William Mikrut wrote:
> So I have seen this topic fly by a few times.  I have also located a list
> of tokens that reference basic command (could even see them in the
> unravelled series).
>
> My question... does one 'write' tokenized basic... or does a basic program
> become tokenized?
>
> Either way... how does one 'execute' tokenized Basic?
>


The Second One...

Your BASIC Program is Tokenized to Save Space in Memory and on Tape or 
Disk..

Unless you save it as Un-Tokennized  ( Which I understand you do to move 
a BASIC Program from the CoCo to the Dragon or Vise Versa, because they 
Tokenized Differently.. )

Since it is Tokenized in Memory, it is Executed when you type RUN...
========================
The above is true, but I think you can write using the tokens. I know you can at least use SOME of the tokens when coding... I recall using the token for REM instead of actually typing REM, but can't recall what it is... Made it a bit quicker typing remarks (an apostrophe?). Might not work for all tokens though. 

To transfer a BASIC program to another computer (such as the Dragon, which used different tokens), you saved the listing ins ASCII format, which didn't tokenize the saved file. 
 Frank Swygert
 Fix-It-Frank Handyman Service
 803-604-6548


More information about the Coco mailing list