$$external problem

Anything QL Software or Programming Related.
User avatar
tofro
QL Wafer Drive
Posts: 1647
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: $$external problem

Postby tofro » Mon Mar 19, 2018 3:57 pm

What unfortunately really doesn't work on SMSQ/E is Free Running Procedures.

(Have a compiled extension run as an independent background job by adding an exclamation mark to the procedure name).

I believe this has to do with some sort of timing when a job is started which is different on SMSQ/E.

Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
EmmBee
Brittle Membrane
Posts: 101
Joined: Fri Jan 13, 2012 5:29 pm
Location: Kent

Re: $$external problem

Postby EmmBee » Mon Mar 19, 2018 4:03 pm

Giorgio Garabello wrote:Problem solved. Replacing QLIB_RUN with QLIB_RUN_mod336 works perfectly.
Who knows why?

Giorgio


Where can we find QLIB_RUN_mod336 ?


User avatar
dilwyn
Mr QL
Posts: 1513
Joined: Wed Dec 01, 2010 10:39 pm
Location: Wales
Contact:

Re: $$external problem

Postby dilwyn » Mon Mar 19, 2018 7:14 pm

Artificer wrote:You could try http://www.dilwyn.me.uk/qlib/index.html

To the best of my knowledge, those on there only fix the ERNUM/ERLIN problem area in QLiberator.

The QLIB_RUN_bas and QLibrun_bas programs are on older SMSQ/E disks from Jochen Merz, where they were mentioned in his printed SMSQ/E manuals. I don't know the copyright situation of those programs, so I don't really want to post them on here until I know.

But what I could probably do is run those programs on original copies of QLIB_RUN (and possibly QLIB_RUNmod... versions of Thierry's) and place them on here for people to try - if they work and allow successful use of externals, I could add the QLIB_runmod_mods to my QLiberator page.


Dilwyn
All things QL: see www.dilwyn.me.uk
User avatar
dilwyn
Mr QL
Posts: 1513
Joined: Wed Dec 01, 2010 10:39 pm
Location: Wales
Contact:

Re: $$external problem

Postby dilwyn » Mon Mar 19, 2018 7:52 pm

qlrun2.zip
QLIB_RUN files patched to try to get Externals working with SMSQ/E
(25.04 KiB) Downloaded 49 times
Tried using QLIB_RUN_bas to modify:

1. "Vanilla" unmodified QLIB_run 3.36
2. QLIB_RUN335_mod
3. QLIB_RUN336_mod

Patched files and short readme_txt attached - let me know if these work and then I can make them available via my website. If anyone knows the status of the qlib_run_bas programs, we may then be able to make those available too.


Dilwyn
All things QL: see www.dilwyn.me.uk
Derek_Stewart
QL Wafer Drive
Posts: 1470
Joined: Mon Dec 20, 2010 11:40 am
Location: Runcorn, Cheshire, UK

Re: $$external problem

Postby Derek_Stewart » Tue Mar 20, 2018 11:26 am

Hi

I tried the Qlib_RUN2 runtimes and the compiled externals examples in the Qlib Manual now work in SMSQmulator and QPC2


Regards,

Derek
User avatar
BSJR
Chuggy Microdrive
Posts: 66
Joined: Sun Oct 18, 2015 12:53 pm
Location: Amsterdam
Contact:

Re: $$external problem

Postby BSJR » Tue Mar 20, 2018 11:48 am

dilwyn wrote:The QLIB_RUN_bas and QLibrun_bas programs are on older SMSQ/E disks from Jochen Merz, where they were mentioned in his printed SMSQ/E manuals. I don't know the copyright situation of those programs, so I don't really want to post them on here until I know.

Maybe Wolfgang Lenerz can be persuaded to add them to the SMSQ/E pages with the Additional Information & Data.
This should also include the other Patch programs (ArchRtm, C68_40 & Qref) and HDUTILS as they were once standard part of the SMSQ/E package.

Bob


User avatar
dilwyn
Mr QL
Posts: 1513
Joined: Wed Dec 01, 2010 10:39 pm
Location: Wales
Contact:

Re: $$external problem

Postby dilwyn » Tue Mar 20, 2018 4:19 pm

Derek_Stewart wrote:Hi

I tried the Qlib_RUN2 runtimes and the compiled externals examples in the Qlib Manual now work in SMSQmulator and QPC2

Thanks Derek. I'll add QLIB_RUN2 to my Q-Liberator page now.

Were you able to test if free-running compiled procedures (the type you start by placing an exclamation mark after the name) work now?

Free-running procedures are described on page 14.9 of my printed Q-Liberator 3.36 manual for anyone not familiar with them.

I can see I'm going to have to sit down now and learn about Externals for myself!!!


Dilwyn
All things QL: see www.dilwyn.me.uk
EmmBee
Brittle Membrane
Posts: 101
Joined: Fri Jan 13, 2012 5:29 pm
Location: Kent

Re: $$external problem

Postby EmmBee » Wed Mar 21, 2018 9:47 pm

I don't think this works, actually. Neglecting to get rid of the SBASIC code is the culprit. In this case, SBASIC would take precedence over any loaded extension and produce a misleading correct result. Any loaded QLIB extensions never get the chance to be tested.

Let's hope that Wolfgang can come to the rescue.


User avatar
Giorgio Garabello
Trump Card
Posts: 240
Joined: Tue Jun 30, 2015 8:39 am
Location: Turin, ITaly
Contact:

Re: $$external problem

Postby Giorgio Garabello » Wed Mar 21, 2018 10:04 pm

EmmBee wrote:I don't think this works, actually. Neglecting to get rid of the SBASIC code is the culprit. In this case, SBASIC would take precedence over any loaded extension and produce a misleading correct result. Any loaded QLIB extensions never get the chance to be tested.

Let's hope that Wolfgang can come to the rescue.


Excuse me I did not understand your explanation, can you be clearer please?

Giorgio



Who is online

Users browsing this forum: johnh and 4 guests