[Coco] Color Basic Renumber
Nick Marentes
nickma2 at optusnet.com.au
Tue Jan 27 17:05:52 EST 2015
On 28/01/2015 7:40 AM, Arthur Flexser wrote:
> It would probably be easier to extract the RENUM code from the Extended
> Basic ROM and adapt it to be a stand-alone program. I recall setting the
> display window to where a program resided in memory and watching RENUM
> occur. The Basic program looks like a balloon suddenly blowing up and then
> shrinking. That's because the algorithm first expands all line number
> references within lines to 5 bytes, so as to be able to accommodate a
> possible 5-digit substitute that results from renumbering. Then after
> renumbering, all that extra space is removed.
>
>
Even easier is to leave my code as is. It was soley to make it look
neat. :)
Nick
More information about the Coco
mailing list