Search found 240 matches

by EmmBee
Thu May 10, 2018 11:56 pm
Forum: Software & Programming
Topic: Open/Close program crash
Replies: 20
Views: 8169

Re: Open/Close program crash

Hi, Your listing it is not exactly clear where you test for EOF(#5). Do you make this test at the beginning or the end of the loop? There is a comment about processing the data, but of course, it is quite common to add comments to the code about what this block will do. There is also a count added. ...
by EmmBee
Sat Mar 31, 2018 9:22 pm
Forum: Software & Programming
Topic: Unpickable Window
Replies: 3
Views: 2187

Re: Unpickable Window

It sounds as though you're going to be needing BGIMAGE. I take it this is the top left corner of the screen, Screen_base - the start address of display memory. This can be found with PEEK_L(CHBASE(#1)+50). CHBASE can be obtained from DIY VolQ_QBASE, see: http://www.dilwyn.me.uk/tk/diytk2.zip You'll ...
by EmmBee
Sun Mar 25, 2018 6:43 pm
Forum: Software & Programming
Topic: $$external problem
Replies: 39
Views: 18723

Re: $$external problem

Hi Artificer,

Thanks for this. I now have it all working properly.
I can confirm that it now works on QPC2 - great!

EmmBee
by EmmBee
Fri Mar 23, 2018 7:54 am
Forum: Software & Programming
Topic: $$external problem
Replies: 39
Views: 18723

Re: $$external problem

qlrun2.zipTried 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_b...
by EmmBee
Thu Mar 22, 2018 10:31 pm
Forum: Software & Programming
Topic: $$external problem
Replies: 39
Views: 18723

Re: $$external problem

Our $exual problem continues... have just tried the demonstration program for FRA(), compiled with QLiberator and LRESPRed and I get it to work when compiled with smsq/e 3.31 or with smsq/e 3.32 on a Q60. I have also QLiberated this demo program on my Aurora system, smsq/e 3.32 mode 4 and it works t...
by EmmBee
Wed Mar 21, 2018 11:33 pm
Forum: Software & Programming
Topic: $$external problem
Replies: 39
Views: 18723

Re: $$external problem

Here is my recommended way to test … First, Enter the SBASIC code … 50 REMark $$external 60 DEFine Function FRA(x) 70 RETurn x - INT(x) 80 END DEFine Compile with Q_Liberator Type in and ENTER ... NEW - get rid of the SBASIC program – to avoid any confusion. LRESPR the created QLIB obj file And now ...
by EmmBee
Wed Mar 21, 2018 9:47 pm
Forum: Software & Programming
Topic: $$external problem
Replies: 39
Views: 18723

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 t...
by EmmBee
Mon Mar 19, 2018 4:03 pm
Forum: Software & Programming
Topic: $$external problem
Replies: 39
Views: 18723

Re: $$external problem

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 ?
by EmmBee
Fri Mar 16, 2018 11:22 am
Forum: Software & Programming
Topic: $$external problem
Replies: 39
Views: 18723

Re: $$external problem

You need to do your tests on a real QL or Q-emuLator, and you will get the expected answers. Unfortunately, these QLIB externals will not currently work with QPC2. What is the technical reason for this? The trouble is apparently caused by QPC2 not recognizing it has been called from the Interpreter...
by EmmBee
Thu Mar 15, 2018 9:33 pm
Forum: Software & Programming
Topic: $$external problem
Replies: 39
Views: 18723

Re: $$external problem

Hi Georgio, You need to do your tests on a real QL or Q-emuLator, and you will get the expected answers. Unfortunately, these QLIB externals will not currently work with QPC2. What happens is that x gets the value of an empty string, and INT expects a numeric value, so this causes the error, but the...