[Coco] How to generate BASIC line pointers ?
Johann Klasek
johann+coco at klasek.at
Wed Aug 28 11:10:35 EDT 2013
On Wed, Aug 28, 2013 at 08:46:45AM -0600, William Astle wrote:
> On 2013-08-28 08:32, Johann Klasek wrote:
> >On Wed, Aug 28, 2013 at 04:19:01PM +0200, CoCoList at jensdiemer.de wrote:
> >>Am 28.08.2013 16:12, schrieb Aaron Wolfe:
> >>>I believe you will need to tokenize the text line to get its length in
> >>>memory.
[..]
>
> For Color Basic on the COCO, the line pointers in a saved basic program
> are ignored because the program may not load to the same address it was
> saved from. Instead, after the program loads, it scans the program and
> recalculates all the pointers. As long as the pointer isn't zero, it
> probably doesn't matter much what it is in that case.
You are right, other Basics with MS roots do the same (CBM Basic variants).
More information about the Coco
mailing list