Re: Pointer at the start of a BASIC line: what good is it?

From: groepaz_at_gmx.net
Date: Wed, 27 Oct 2021 21:28:33 +0200
Message-ID: <3321318.sQuhbGJ8Bu_at_rakete>
Am Mittwoch, 27. Oktober 2021, 21:21:10 CEST schrieb ruud_at_baltissen.org:
> Hallo allemaal,
> 
> 
> Still busy writing my own BASIC that should run on my Commodore
> PC20-III, I stumbled in something strange, again. I was sure that the
> first two bytes of a BASIC line were the length of it. That worked fine
> for a long time until I loaded a real C64 program and tried to edit it.
> Seeing the values and checking on Internet I learned it were pointers to
> the next line. Or better (IMHO worse), it points to the zero end byte at
> the end of the line. Why is this all?

it points to the start of the next line :)


-- 

http://hitmen.eu                 http://ar.pokefinder.org
http://vice-emu.sourceforge.net  http://magicdisk.untergrund.net

Warum etwas anderes nehmen, wenn ich das als beste Lösung ansehe und empfehle? 
<Retrofan>
Received on 2021-10-27 22:04:46

Archive generated by hypermail 2.3.0.