Search found 187 matches

by EmmBee
Mon Feb 18, 2019 6:34 pm
Forum: Software & Programming
Topic: QLCOMMANDER - testers and help needed
Replies: 113
Views: 19260

Re: QLCOMMANDER - testers and help needed

I've tested this out with QPC2, and your right - it does work. Control-C works as intended even without an enabled cursor - I am surprised.
I have been mistaken - sorry!
by EmmBee
Mon Feb 18, 2019 2:24 pm
Forum: Software & Programming
Topic: QLCOMMANDER - testers and help needed
Replies: 113
Views: 19260

Re: QLCOMMANDER - testers and help needed

Yes, I agree, that should do the trick. I've done a search and what you say is documented under TURBO_ref in both turbotk_txt and also Qhelp from RWAP. Talking about "GET", I notice you have defined a function, "getKey$(c%), where this is the only place in your program where a cursor ...
by EmmBee
Mon Feb 18, 2019 9:30 am
Forum: Software & Programming
Topic: QLCOMMANDER - testers and help needed
Replies: 113
Views: 19260

Re: QLCOMMANDER - testers and help needed

Andrew wrote:- Compiled program with Turbo works only on QPC !! On QL and QEmulator it raises error "Not implemented yet"

What line number does this error occur on?
Also - did this happen in the previous version?

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

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

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

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

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

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

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

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