Search found 84 matches

by EmmBee
Wed Feb 13, 2019 2:04 pm
Forum: Software & Programming
Topic: C++
Replies: 22
Views: 747

Re: C++

Note you can make C68 more ANSI-like by simply putting a "-extensions=yes" on the command line - this makes it at least accept some more modern ANSI-C constructs like C++ comments ("//") I've tried this on a simple program, but get the report: option '-extensions=yes' not recogn...
by EmmBee
Thu Jan 31, 2019 4:00 pm
Forum: QL Emulation
Topic: QEmulator RENAME issue
Replies: 8
Views: 454

Re: QEmulator RENAME issue

You could try ... COPY win2_file1_doc TO win2_file2_doc
If that works, then you could delete the file1_doc
by EmmBee
Sun Oct 07, 2018 12:21 pm
Forum: Software & Programming
Topic: Test if a directory exists
Replies: 13
Views: 947

Re: Test if a directory exists

If you have Turbo toolkit, you could use ... DEFine FuNction valid_dir(dev$) LOCal L L = LEN(dev$) IF L: IF dev$(L)="_": IF DEVICE_STATUS(1,dev$)>=0: IF FTYP(\dev$)=255: RETurn 1 RETurn 0 END DEFine valid_dir This works as the full directory name has to be supplied. It cannot get confused ...
by EmmBee
Wed May 30, 2018 12:06 am
Forum: Software & Programming
Topic: Tumbling QL animation
Replies: 7
Views: 977

Tumbling QL animation

Hi everyone, Some while ago, Steve Poole sent me his QL text tumbler program. This was previously here .. https://www.qlforum.co.uk/viewtopic.php?f=3&t=1931&p=17065&hilit=animation#p17050 This program involves spending lots of time computing highly complex trigonometric values to calcula...
by EmmBee
Thu May 10, 2018 11:56 pm
Forum: Software & Programming
Topic: Open/Close program crash
Replies: 20
Views: 1530

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: 628

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: 3614

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: 3614

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: 3614

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: 3614

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 ...

Go to advanced search