Op Sat, 21 Apr 2012 12:42:05 +0200 schreef Ralf Reköndt
<[email protected]>:

I think, that wasn't the question. Don't confuse this with QLiberator's option "Line Numbers".

As far as I know, QLiberator does not need line numbers, but this is not possible via the interpreter. It is in fact possible with the QD5 Thing to compile source code without line numbers.

I think, Turbo is just able to compile a loaded SuperBASIC program, so no way to compile without line numbers. QLiberator always compile from a QSAVEd file (or QD5 Thing).

Cheers...Ralf

----- Original Message ----- From: "George Gwilt" <[email protected]>
To: <[email protected]>
Sent: Saturday, April 21, 2012 10:46 AM
Subject: Re: [Ql-Users] Raspberry Pi - starts

On 20 Apr 2012, at 21:40, Dilwyn Jones wrote:


I always thought it was a pity superBasic demanded line numbers. They were not actually necessary,
and if GOTO did not exist, not even used.
I think QLiberator at least can compile without line numbers (never actually tried that). Perhaps George could tell us if Turbo can too.

Turbo gives three options: omitting line numbers in the compiled program, including them without displaying them during compilation and including them as well as displaying them.

George

QD can be used to write SBasic without bothering about line numbers.
GOTO's and GOSUB's can easily be avoided.
The SBAS/QD thing lets me test-run it from there.

I use BasicLinker to call Qliberator, this will add line numbers for the
_sav file, which can be stripped again by Qlib.
This also takes care of multiple RESTORE commands, as long as they are the
only command on that line.

Bob

--
The BSJR QL software site at: http://members.upc.nl/b.spelten/ql/
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to