On 08/12/16 14:43, George Gwilt wrote:
On 8 Dec 2016, at 14:09, Derek Stewart <[email protected]> wrote:
I was reading my old Qliberator manual which I had forgotten about the
$$external function to allow S*Basic procedures and Functions to be compiled to
that added to the S*BASIC to extend the commands.
Can this be done in Turbo, or can Turbo be altered to do this.
You can add REM %%[ name of extension file ] to a program to be compiled by
TURBO so that the extensions to S*BASIC therein are loaded. This mirrors the
similar procedure in QLIB.
The details are in the TURBO Manual.
George
_______________________________________________
QL-Users Mailing List
Hi George,
Thank you for the information, I will re-read the manual.
But what I mean is, if a SBASIC procedure is written, it can be compiled
with Qliberator and LRESPRed into the Interpreter list.
E.g. from Qliberator Manual
10 $$external
20 Def Proc Square(x)
30 print x*x
40 End Def Square
When this is compiled and the resulting OBJ file is LRESPRed, this adds
the command Square to the Interpreter.
Regards,
Derek
_______________________________________________
QL-Users Mailing List