Page 1 of 1

QD Basic Renumbering

Posted: Sat Sep 11, 2021 8:35 pm
by Derek_Stewart
Hi,

I have been writing SBasic programming with QD 2018 B07, which is a nice SBasic development system.

But I have been running into problems with a ZX Spectrum convert Basic programme, which has 18000 plus lines of basic. Which includes data statements to define Use Defined Graphics

The problem is that when the programme is renumbered in QD, the RESTORE statement pointing toward the start of the DAYA statement does not get renumbered correctly.

If I use SBASIC to load the programme and renumber the programme, all work correctly.

Does anyone know what is going on?

Re: QD Basic Renumbering

Posted: Sun Sep 12, 2021 1:01 am
by tofro
Derek,

QD simply doesn't do that. It does change the line numbers of program lines, but won't touch any references within the program - That also covers GOTO, GOSUB and other statements that use line numbers, like RESTORE.

Re: QD Basic Renumbering

Posted: Sun Sep 12, 2021 10:06 am
by Derek_Stewart
Hi,

Thank you for the clarification, I remember Jochen taking about this issue, but could not remember what was said.