Re: [Ql-Users] Qliberator External on Turbo??
On 8 Dec 2016, at 15:02, Derek Stewartwrote: 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. I seem to remember that there's an issue with using the external compiled procedures with SBASIC - EmmBee on QL Forum said this about a 'patch' program supplied with some versions of QPC2: http://www.qlforum.co.uk/viewtopic.php?f=19=1041=8299=qliberator+externals#p8299 Dilwyn - No virus found in this message. Checked by AVG - www.avg.com Version: 2016.0.7924 / Virus Database: 4728/13561 - Release Date: 12/09/16 ___ QL-Users Mailing List
Re: [Ql-Users] Qliberator External on Turbo??
> On 8 Dec 2016, at 15:02, Derek Stewartwrote: > > > 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. TURBO allows this by use of TASCOM. George ___ QL-Users Mailing List
Re: [Ql-Users] Qliberator External on Turbo??
> On 8 Dec 2016, at 15:02, Derek Stewartwrote: > > 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. That is certainly something TURBO does not do - - at the moment. George ___ QL-Users Mailing List
Re: [Ql-Users] Qliberator External on Turbo??
> On 8 Dec 2016, at 14:09, Derek Stewartwrote: > > 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
[Ql-Users] Qliberator External on Turbo??
Hi, 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. Regards, Derek ___ QL-Users Mailing List