Search found 183 matches

by EmmBee
Thu Mar 14, 2019 11:19 pm
Forum: Software & Programming
Topic: Check if BASIC is running
Replies: 6
Views: 1155

Re: Check if BASIC is running

Here is a version I wrote ... DEFine FuNction isBasicRunning IF VER$ = "HBA" REMark SMSQ/E IF BASIC_B%(110) = 1 : RETurn 1 : ELSE RETurn 0 ELSE REMark QDOS IF CHBASE(0,0) <> -1 : RETurn 2 : REMark no #0 cursor IF BASIC_W%(104) = BASIC_W%(146) : RETurn 0 : REMark STOP occurred IF BASIC_B%(1...
by EmmBee
Fri Mar 08, 2019 11:39 pm
Forum: Software & Programming
Topic: Check if BASIC is running
Replies: 6
Views: 1155

Re: Check if BASIC is running

Current Line number executing ... BASIC_W%(104) Continue Line number ... BASIC_W%(146) Break - whether Ctrl-Space was pressed - BASIC_B%(143) Best of luck with this. I got the above information from Jan Jones's QL SuperBASIC The Definitive Handbook These will work with QDOS - but not necessarily wit...
by EmmBee
Wed Feb 27, 2019 5:15 pm
Forum: Software & Programming
Topic: QLCOMMANDER - testers and help needed
Replies: 113
Views: 16171

Re: QLCOMMANDER - testers and help needed

I found this in turbos3_txt ... But the presence of the command "TURBO_ref" in a program to be compiled will cause TURBO to arrange to send all simple string parameters by reference. Since this will work only if the operating system is SMSQ/E such compiled programs will halt immediately wi...
by EmmBee
Wed Feb 27, 2019 9:39 am
Forum: Software & Programming
Topic: QLCOMMANDER - testers and help needed
Replies: 113
Views: 16171

Re: QLCOMMANDER - testers and help needed

I have managed to get this to work with Qemulator. This is how .. Thank you EmmBee - very interesting solution. I will read the Tubo manual to get a better understanding of Turbo_V But one thing seems strange - I can create subdirectories in QEmulator (but I use the drive mapped to a QXL.WIN file) ...
by EmmBee
Tue Feb 26, 2019 1:04 pm
Forum: Software & Programming
Topic: QLCOMMANDER - testers and help needed
Replies: 113
Views: 16171

Re: QLCOMMANDER - testers and help needed

Known issue that drives me crazy (Please help with this !) - Compiled program with QLiberator works on QL, QEmulator and QPC - Compiled program with Turbo works only on QPC !! On QL and QEmulator it raises error "Not implemented yet" Can anyone help with this peculiarity ? I have managed ...
by EmmBee
Wed Feb 20, 2019 3:55 pm
Forum: Software & Programming
Topic: QLCOMMANDER - testers and help needed
Replies: 113
Views: 16171

Re: QLCOMMANDER - testers and help needed

Using QemuLator without p/e, I can call up QLiberator to compile a program. QLiberator initially outlines a text window and there is no flashing cursor visible. I can press Control-Space, and then Control-C. The Basic cursor now flashes in #0, and QLiberator responds by removing the outline and disp...
by EmmBee
Mon Feb 18, 2019 6:34 pm
Forum: Software & Programming
Topic: QLCOMMANDER - testers and help needed
Replies: 113
Views: 16171

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

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

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

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