$$external problem
Re: $$external problem
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
(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
Re: $$external problem
Where can we find QLIB_RUN_mod336 ?Giorgio Garabello wrote:Problem solved. Replacing QLIB_RUN with QLIB_RUN_mod336 works perfectly.
Who knows why?
Giorgio
Re: $$external problem
To the best of my knowledge, those on there only fix the ERNUM/ERLIN problem area in QLiberator.Artificer wrote:You could try http://www.dilwyn.me.uk/qlib/index.html
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.
--
All things QL - https://dilwyn.theqlforum.com
All things QL - https://dilwyn.theqlforum.com
Re: $$external problem
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.
--
All things QL - https://dilwyn.theqlforum.com
All things QL - https://dilwyn.theqlforum.com
-
- Font of All Knowledge
- Posts: 4684
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: $$external problem
Hi
I tried the Qlib_RUN2 runtimes and the compiled externals examples in the Qlib Manual now work in SMSQmulator and QPC2
I tried the Qlib_RUN2 runtimes and the compiled externals examples in the Qlib Manual now work in SMSQmulator and QPC2
Regards,
Derek
Derek
Re: $$external problem
Maybe Wolfgang Lenerz can be persuaded to add them to the SMSQ/E pages with the Additional Information & Data.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.
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
Re: $$external problem
Thanks Derek. I'll add QLIB_RUN2 to my Q-Liberator page now.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
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!!!
--
All things QL - https://dilwyn.theqlforum.com
All things QL - https://dilwyn.theqlforum.com
Re: $$external problem
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.
Let's hope that Wolfgang can come to the rescue.
- Giorgio Garabello
- Gold Card
- Posts: 299
- Joined: Tue Jun 30, 2015 8:39 am
- Location: Turin, Italy
- Contact:
Re: $$external problem
Excuse me I did not understand your explanation, can you be clearer please?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.
Giorgio
Quantum Technology
http://www.hunggartorino.it/ql/language/en/
http://www.hunggartorino.it/ql/language/en/