QD Basic Renumbering

Anything QL Software or Programming Related.
Post Reply
Derek_Stewart
Font of All Knowledge
Posts: 3928
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

QD Basic Renumbering

Post 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?


Regards,

Derek
User avatar
tofro
Font of All Knowledge
Posts: 2685
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: QD Basic Renumbering

Post 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.


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
Derek_Stewart
Font of All Knowledge
Posts: 3928
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: QD Basic Renumbering

Post by Derek_Stewart »

Hi,

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


Regards,

Derek
Post Reply