[Ql-Users] Large turbo tasks

2012-02-13 Thread Michael Bulford
.  It is so easy nowadays to write large programs without having to worry about program size or the amount of dataspace used.   Michael Bulford  ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm

Re: [Ql-Users] Large turbo tasks

2012-02-14 Thread Michael Bulford
as today! Dilwyn Jones -Original Message- From: Michael Bulford Sent: Monday, February 13, 2012 9:28 PM To: ql-us...@q-v-d.com Subject: [Ql-Users] Large turbo tasks I am developing a program in SuperBASIC, and compiling with Turbo.  The size of the compiled code is around 133k

[Ql-Users] DEBUG

2012-02-17 Thread Michael Bulford
  The display panel reads:  Pass: 1    Line 22300, which is a few lines after the DEBUG 1 statement.  Can anyone please tell me what I am doing wrong?  The program will compile successfully if the DEBUG command is not used.  I have tried using DEBUG_LEVEL but this makes no difference.   Michael

Re: [Ql-Users] DEBUG

2012-02-18 Thread Michael Bulford
of the error.  However, if using IMPLICIT% value, then the SuperBASIC version would be using floating point variables and the same error would not be produced and so would not stop at the same place.   Michael Bulford ___ QL-Users Mailing List http://www.q-v

Re: [Ql-Users] DEBUG

2012-02-21 Thread Michael Bulford
On 19 Feb 2012, at 15:07, George Gwilt wrote:   I use DEBUG 0 and 1 for the same reasons as you and have never had the fault you mention.   If you could send me, privately, a copy of your program I'll try to locate the problem.   Thanks for your offer of help, this is really

Re: [Ql-Users] DEBUG

2012-02-22 Thread Michael Bulford
Hi George   There is an error in the Turbo parser at line 14490.  Here is this line:   14490  IF var%0 AND (struct%(var%)directive_mask%)=directive_mask%   Both sides of the AND get to be evaluated.  Although var% is tested for being non negative on the left hand side, the right hand side will

Re: [Ql-Users] DEBUG

2012-02-22 Thread Michael Bulford
Hi George   On Wednesday, 22 February 2012, 14:24  George Gwilt wrote:   You are quite right. But how did you get var%=-3? Does this imply another mistake in Parser? No, I don't think so.  -3 comes from for_flag% for an earlier occurence of p Your solution looks the best - it's neater.

[Ql-Users] Printing numbers in non exponent form

2012-03-05 Thread Michael Bulford
numbers, and if the number cannot be converted then the exponent form is returned.   PRINT comma$(2^31) gives 2,147,483,648   PRINT comma$(1000.753) gives 1,000.7529998  Michael Bulford ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm

Re: [Ql-Users] Printing numbers in non exponent form

2012-03-05 Thread Michael Bulford
unsigned 32 bit integers and unfortunately none of the DEC$ functions can do this. Hopefully a few changes to this will provide a solution. On 05/03/2012 09:59, Michael Bulford wrote: Some weeks ago someone enquired as to how to print numbers in non exponent form.  I believe it was George

Re: [Ql-Users] Jan Jones

2012-03-29 Thread Michael Bulford
has apparently written quite a number of books since writing QL SuperBASIC The Definitive Handbook.   Michael Bulford ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm

[Ql-Users] Finding the line number in QPC2

2013-11-26 Thread Michael Bulford
Hi all I’m sorry about my previous message – I had forgotten to use plain text, and this appeared garbled. Hopefully, with any luck, this should now be transmitted correctly. Here is how the message should have been ...   Sometimes my programs will stop with a nice friendly error message,

[Ql-Users] Re: Final call for QL Today V17 + DVD orders

2013-11-27 Thread Michael Bulford
Dave Park schrieb: Any chance you could offer the disk by itself? I'm sure many people might want that who don't need the four magazines and expenses that go with that? Mmmmh, I don't think so. First of all I do not want to upset all the people who already paid - and who got a lot to read and

Re: [Ql-Users] Finding the line number in QPC2

2013-11-28 Thread Michael Bulford
Hi since there seems to be no way to get at this with Peek and Poke, I've made a small SBasic extension to tget the value on the return stack, called RET_STK and RET_STK2: You can download this extension from www.wlenerz.com/QLStuff I’ve tried this. From inside a function it

Re: [Ql-Users] QL-SD What is it?

2013-12-10 Thread Michael Bulford
On Thursday, 5 December 2013, Colin Mckay Wrote: Please describe the hardware software which forms it, sufficiently for us to know what you are talking about. On Wednesday, 04 December 2013, Peter pg...@q40.de Wrote: the restriction that a QL memory expansion is madatory for QL-SD has

[Ql-Users] RET_STK and debugging SBASIC code

2014-07-05 Thread Michael Bulford
Hi all, I believe I have discovered a very good way of using the RET_STK function DEFine FuNction bug(p1$, p2$, p3$, p4$, p5$) LOCal n, x$    PRINT #0,PAUSEd at line ! RET_STK !    FOR n = 1 TO 5   x$ = PICK$(n, p1$, p2$, p3$, p4$, p5$)   IF PARNAM$(n) OR x$: PRINT #0,!! PARNAM$(n) =

[Ql-Users] RET_STK and debugging SBASIC code

2014-07-08 Thread Michael Bulford
Hi Wolfgang, PICK$ will select the nth item from the list that follows the n. Consider  PICK$(n, aaa, bbb, ccc, ddd, etc) If n is 1 then PICK$ will return aaa because it is the 1st item in the list.   If n is 5 then etc would be returned because it is the 5th item.  The parameters of

[Ql-Users] QPC2 and Qliberator externals

2014-07-29 Thread Michael Bulford
Hi All, There are a couple of patches with QPC2 that allows Qliberator externals to be LRESPRd.  The qlib.run patch seems to work, but the qlib.obj patch does not, and I get the message of Unknown Version.  Has anyone else come across this? Michael

[Ql-Users] Recovering deleted files from a QXL

2014-08-12 Thread Michael Bulford
Hi everybody, Does anyone know whether there is any software around that can recover a deleted file from a QXL? Assuming not, could a program be written to do so?  I assume it cannot be done in S*BASIC, but how about machine code?  Would anyone like to try?  The format of how the data is

Re: [Ql-Users] QLis30 dinner - urgent

2014-08-16 Thread Michael Bulford
On 13/08/2014 17:45, John Gilpin wrote: Hi all intended diners at QL is 30 Dinner. QUANTA has, today added an extra page to it's Web Site containing two new PayPal Payment buttons which can be used to pay for the dinner at the QL is 30 event. In an effort to limit the possibility of

[Ql-Users] QLis30 - has anyone found my glasses, please?

2014-10-13 Thread Michael Bulford
them, can you please let me know. Kind regards, Michael Bulford ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm

[Ql-Users] Toolkit 3

2015-06-28 Thread Michael Bulford
Hi, In the latest Quanta magazine, Toolkit 3 is now advertised as freeware. After downloading and unzipping the file, it wouldn't work, it just freezes the QL. I've tried using LRESPR with both QPC2 and Q-emuLator, both without joy. There's no instructions in the user manual. Has anyone

Re: [Ql-Users] QPC2 and Win 8

2015-07-17 Thread Michael Bulford
Hi Peter, can you help me on the other matter of increasing the size of QXL.win partitions, please? I've had this problem myself. What I did was to create another QXL.win file, formatted it to a much higher capacity, then copied all the files across. To preserve the original dates, I used

[Ql-Users] C68 arrays

2016-06-03 Thread Michael Bulford
up to 100. This seems to happen with both global arrays, or arrays created from malloc, although the crash is different in either case. I was wondering if anyone has experienced this as well. Kind regards, Michael Bulford ___ QL-Users Mailing List

[Ql-Users] Q_Liberator externals

2016-06-14 Thread Michael Bulford
Hi everyone, One of the features I like about Q_Liberator is that resident procedures and functions can be written in Basic, and compiled into machine code, to be lrespr-ed in a boot file. These functions can even have parameters. This works well with Q-emuLator. With QPC2 there seems to

[Ql-Users] Qxlwin

2016-06-22 Thread Michael Bulford
Hi Norman, A feature I would like to see in Qxlwin is this: When re opening Qxlwin, it resumes exactly where it was the last time it was used. This means the last used .win file would be re opened and displayed exactly at it was before, and also any text file being displayed also re opened

Re: [Ql-Users] More Help Please

2016-06-16 Thread Michael Bulford
Hi Peter, I believe I may have had the same problem myself. Let me explain. I use QPC2 regularly, and have an elaborate boot file, which gets occasionally modified. Some time ago, I made some changes, and saved the boot file. The very next time I started QPC2, it crashed, and was totally

Re: [Ql-Users] More Help Please

2016-06-18 Thread Michael Bulford
Hi Norm, I think I'll wait .. there appears to be something wrong with this download.The file seems much bigger than advertised. Michael From: Norman Dunbar To: ql-us...@q-v-d.com Sent: Friday, 17 June 2016, 20:24 Subject: Re: [Ql-Users] More Help Please

Re: [Ql-Users] More Help Please

2016-06-17 Thread Michael Bulford
Norm, I've followed your instructions down to Double click the exercise file to run. Then the following messages appear ... This application failed to start because it could not find or load the Qt platform plugin "windows" in "". Reinstalling the application may fix this problem. This

[Ql-Users] Romance

2016-04-29 Thread Michael Bulford
Hi all, On 29/04/2016, Rich Mellor wrote: >The link to the ebook on Amazon is: > >*http://tinyurl.com/zhnmhfd > >*Rich >> On 29/04/2016 14:59, Caroline Mathieson wrote: >> there was an email recently about jan jones ebook. Can anyone remind me of >> the amazon details please? Jan Jones is

[Ql-Users] Software Preservation Project - Tasks

2016-07-09 Thread Michael Bulford
On Thursday 7 July 2016, 21:29:04, Rich Mellor (RWAP) wrote : > Shirley Butler (C-Fix program for use with SuperBASIC C-Port) - not sure if > she > had any more involvement in C-Port.  I also emailed Dave Walker, but no > response > from either Hi Rich, I also wrote to Shirley, but had no

Re: [Ql-Users] More Help Please

2016-06-19 Thread Michael Bulford
-users@lists.q-v-d.com Sent: Sunday, 19 June 2016, 19:28 Subject: Re: [Ql-Users] More Help Please On 18/06/16 12:37, Michael Bulford wrote: > Hi Norm, > I think I'll wait .. there appears to be something wrong with this > download.The file seems much bigger than advertised. Righ

Re: [Ql-Users] Qxlwin

2016-06-19 Thread Michael Bulford
I finally got this to start, however my security software decided to remove the application. Michael From: Norman Dunbar To: ql-us...@q-v-d.com Sent: Sunday, 19 June 2016, 22:14 Subject: [Ql-Users] Qxlwin The qwindows.dll that was uploaded earlier should,

Re: [Ql-Users] WXQT2 alternative?

2017-02-21 Thread Michael Bulford
On Tuesday, 21 Feb 2017 12:49:18, Norman Dunbar wrote: > Afternoon all, > The QXLWIN tool never updates a qxl.win file. It can read and extract files > from a qxl.win, to Windows or Linux (or Mac?) > But not the other way around. > Cheers,> Norm. Hi Norm, Any

Re: [Ql-Users] toolkit-ii-the-sequel

2017-03-23 Thread Michael Bulford
On 2017-03-19 22:28, Marcel Kilgus wrote: > Why? Because I can. > > Read the details here: > > https://www.kilgus.net/2017/03/19/toolkit-ii-the-sequel/ >>Michael Bulford wrote: >> I have installed the bin version on Q-emulator. My initial thoughts >> w

Re: [Ql-Users] toolkit-ii-the-sequel

2017-03-24 Thread Michael Bulford
Marcel Kilgus wrote: > Michael Bulford wrote: >> Thanks for fixing this, but the STAT bug remains. > > Do you use QemuLator by any chance? It returns allocation size as "1 > bytes" for attached directories, which the TK2 code can't handle > never could). It expect

Re: [Ql-Users] toolkit-ii-the-sequel and CDEC$

2017-03-24 Thread Michael Bulford
There seems to be a problem with CDEC$. CDEC$(123,4,0) should give " 123", but gives instead 4 asterisks. Michael ___ QL-Users Mailing List

[Ql-Users] Subject: Re: New TK II version 2.30

2017-03-23 Thread Michael Bulford
On 2017-03-19 22:28, Marcel Kilgus wrote: > Why? Because I can. > > Read the details here: > > https://www.kilgus.net/2017/03/19/toolkit-ii-the-sequel/ I have installed the bin version on Q-emulator. My initial thoughts were that this is fantastic, since it noticeably improves the performance

Re: [Ql-Users] SMSQ/E and unset variables

2017-04-24 Thread Michael Bulford
n type(var) LOCal var$(127) var$ = PARNAM$(1) RETurn BASIC_B%(BASIC_L(24)+BASIC_INDEX%(var$)*8) END DEFine type This function returns 2 if var has a value, else zero. By giving an error, this will trap both spelling mistakes and also variables accessed out of scope. Micha

[Ql-Users] SMSQ/E and unset variables

2017-04-24 Thread Michael Bulford
case. It is good practice because these initialisations are being documented. We have to remember that others will want to look at and understand the code we write. SMSQ/E would be enforcing this desirable state of affairs, as QDOS does. Michael Bulford

[Ql-Users] EXEP_W

2017-08-16 Thread Michael Bulford via Ql-Users
Hi, I am wanting to use EXEP some_turbo_task; arg$, "i", "u" and then wait until that job completes before continuing. Is there such a command that does this? If not, then how can this be implemented? Any ideas please Michael ___ QL-Users Mailing List

[Ql-Users] Function type error

2017-08-10 Thread Michael Bulford via Ql-Users
Hi all, I've no idea whether this has been mentioned before, but consider this … 100 :110 PRINT #0, Min_Int%(330.7, 440.7)120 PAUSE -1130 STOP140 :150 DEFine FuNction Min_Int%(x%,i)160  IF x% < i : RETurn x% : ELSE : RETurn i170  END DEFine The correct result should be 331, sincethis is an

Re: [Ql-Users] Function type error

2017-08-10 Thread Michael Bulford via Ql-Users
Thanks for your explanations. This is all specific to SBASIC. Tobias gives an example with a LOCal name the same as the function name. Although this is possible, it cannot be recommended. You will not be able to call the function recursively. And it won't compile with either QLiberator or

[Ql-Users] Turbo Parser

2017-07-17 Thread Michael Bulford via Ql-Users
I’ve been working on a new proposed update to the Turbo parser. Here is what it can do: Warn of duplicated parameters/locals, locals overwriting parameters, names used again in nested FOR/REPeat loops; locals not used - or used but not assigned. If MANIFEST or IMPLICIT statements are made too

Re: [Ql-Users] PCB Design v7.52

2017-07-22 Thread Michael Bulford via Ql-Users
Hi, Wolf wrote: > In the boot all file separators are "." (eg. "tk.bin"), but when > dezipped, the file separators are "_" as they should be, so the boot > can't find them. There is the -Q1 option in unzip to reverse the "_" <-> "." Eg. EX unzip,#1; "-Q1 dos7_PCBDesign752.zip -d ram6_" and

Re: [Ql-Users] Quanta Magazine

2017-07-23 Thread Michael Bulford via Ql-Users
I've received two issues this year, up to the Feb/March issue. None received since then. I did email John Gilpin last week, but no reply as yet. Michael Dilwyn wrote: > I've forwarded this to committee members (don't know the answer myself), > hopefully a reply soon. > > Dilwyn > >

[Ql-Users] Subject: Re: PCB Design v7.52

2017-07-30 Thread Michael Bulford via Ql-Users
Whenever I try to run any new SBASIC code, there is this overlapping problem of some variable names used are possibly already installed as resident procedures. The code then either does not work as intended, or can stop with an error message. In these circumstances, I usually have to go

Re: [Ql-Users] EXEP_W

2017-08-16 Thread Michael Bulford via Ql-Users
On Wed, 16 Aug 2017, Duncan wrote: Question : are you using QDOS or smsqe? with smsqe it should be possible to create a wrapper basic executable program that will EXEP "task; parameters" then continue to run and check the jobs list (you will know the task name) until the task it EXEP has

Re: [Ql-Users] TURBO and testing it exists

2017-08-19 Thread Michael Bulford via Ql-Users
On Thu, 17 Aug 2017 21:08:31, Per Witte wrote: > Thats a nice solution. Not sufficient for all manner of keywords, though. A > more general solution for checking for relevant toolkits in boot programs, > without having to load a toolkit to do so can be found

Re: [Ql-Users] Lear PCB Design v7.55

2017-09-19 Thread Michael Bulford via Ql-Users
On Mon, 18 Sep 2017 at 14:26, Dilwyn Jones wrote: > A new update of Malcolm Lear's PCB Design is available from the Graphics page > on my website. Details of the little bug fix in the REVISIONS.TXT file. > > version 7.55 Fixed 1 mil offset correction for snake shape with

Re: [Ql-Users] Lear PCB Design v7.55

2017-09-19 Thread Michael Bulford via Ql-Users
On Mon, 18 Sep 2017 at 14:26, Dilwyn Jones wrote: > A new update of Malcolm Lear's PCB Design is available from the Graphics page > on my website. Details of the little bug fix in the REVISIONS.TXT file. > > version 7.55 Fixed 1 mil offset correction for snake shape with

Re: [Ql-Users] TYPE_IN

2017-10-04 Thread Michael Bulford via Ql-Users
Hi all, I am hoping now to explain what is going on. First, here is some code that does work .. 100 DIM Top$ (100) : Top$ = "REMark " & FILL$( "*" ,20) 110 DIM Final$(100) : Final$ = "REMark " & FILL$("text",20) 120 An = 2 1920 TYPE_IN An&":"$(10) 1930 TYPE_IN (An+1)$$(10) 1932

Re: [Ql-Users] Function type error

2017-09-09 Thread Michael Bulford via Ql-Users
> > On 7 Sep 2017 at 15:15, George Gwilt <ql-us...@q-v-d.com> wrote: > > > > Subject: Re: [Ql-Users] Function type error > > > > On 10 Aug 2017, at 22:49, Michael Bulford via Ql-Users > > <ql-users@lists.q-v-d.com> wrote: > > > > T

Re: [Ql-Users] TYPE_IN

2017-09-30 Thread Michael Bulford via Ql-Users
> Fellow QL'ers > > I have a slight problem with TYPE_IN > > Using it to put some commands in #0, works well in an instance until I > reach what appears to be a maximum set of characters, where the QL just > hangs. > > e.g. > > 1920 TYPE_IN An&":"$(10) > 1930 TYPE_IN

Re: [Ql-Users] CPORT

2017-11-01 Thread Michael Bulford via Ql-Users
Hi Norman, I have both CPORT and CFIX. I find that CFIX doesn't work correctly in QPC2, so to get around that problem, I use Q-emulator for that one. CPORT does work well in QPC2, provided that memory is limited to 16M. There's also some other related files. I'll dig them out. How can I get

Re: [Ql-Users] EXT_PROC

2017-11-09 Thread Michael Bulford via Ql-Users
On Wed, 8 Nov 2017 21:05:55, Per Witte wrote: > I was just made aware of a number of features in Q-Lberator that I havent > seen documented anywhere: EXT_PROC, EXT_FN, GLOBAL, and possibly others. I > believe I have a general idea of what theyre about, but should like to see >

Re: [Ql-Users] QPC2 4.04 BUG (RWAP Software)

2018-04-23 Thread Michael Bulford via Ql-Users
> Does anyone know why the following in QPC2 reports "Invalid Channel ID" > > WINDOW 448,200,32,16 > PAPER #1,3 >> In fact, any attempt to change #1 after the WINDOW command reports an > invalid channel.>> I also found some of the character combinations were not > working in > v4.04 (eg CTRL

Re: [Ql-Users] QED v2.01 released!

2018-09-25 Thread Michael Bulford via Ql-Users
* TAB compression and expansion supported * Raw and cooked LOADing and SAVing of files for CR/LF conversion Hi Jan, Many thanks, this is highly welcome.I use your software quite a lot. Michael ___ QL-Users Mailing List

Re: [Ql-Users] Select on

2020-06-21 Thread Michael Bulford via Ql-Users
If we are talking about Selecting on single-character strings, such as when coding actions depending on some keypress, I would like to tell you about how I get around this problem. At the very beginning, I would declare some constants of the codes of all the alphabetical characters, all 52 of

Re: [Ql-Users] Select on

2020-06-21 Thread Michael Bulford via Ql-Users
If we are talking about Selecting on single-character strings, such as when coding actions depending on some keypress, I would like to tell you about how I get around this problem.  At the very beginning, I would declare some constants of the codes of all the alphabetical characters, all 52 of

[Ql-Users] (no subject)

2021-04-19 Thread Michael Bulford via Ql-Users
Ql       https://bitly.com/3v6iFgH         Michael Bulford   ___ QL-Users Mailing List