Re: [Ql-Users] MAW in Easyptr4 - help

2017-08-17 Thread Giorgio Garabello via Ql-Users
2017-08-17 22:01 GMT+02:00 Per Witte via Ql-Users : > I dont know of an easy way. It seems to be a feature of Wman. The two > solutions I can suggest are: > > 1. Two-step approach: Have a keypress, say TAB, to select the MAW, then > press the relevant key. > This seems

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

2017-08-17 Thread matrassyl--- via Ql-Users
Hi Lee, If booting from a Win drive on the first instance of needing to load the Turbo toolkit check for the existence of a file on the boot device called "TTKLoaded", or similar. If the file does not exist create it and load TurboTK. If the file is found to exist do not load the toolkit. At

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

2017-08-17 Thread Per Witte via Ql-Users
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 in this article: http://www.hunggartorino.it/ql/findkey/ (also available in Italian!) Per

[Ql-Users] MAW in Easyptr4 - help

2017-08-17 Thread Giorgio Garabello via Ql-Users
Hi everyone, I have a doubt about the EASYPTR4 Application windows I put an array in an Application Window Menu, then I defined that the first letters of each element are underlined and usable as shortkey. Shortcuts can only be used if the pointer is located above the application windows. If the

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

2017-08-17 Thread François Van Emelen via Ql-Users
Op 17/08/2017 om 12:40 schreef Dilwyn Jones via Ql-Users: In that sense, the easiest way is to load the smallest keyword checking extension and just accept the chicken and egg scenario and that there is a risk that you may multiply-load that one small extension. One such extension is Phil

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

2017-08-17 Thread Lee Privett via Ql-Users
Thanks for all the suggestions guys, 220 IF TK_VER$<>"" THEN 230 PRINT "Done":STOP 240 ELSE 250 LRESPR win8_turbo_sms_code 260 END IF this works exactly how I wanted it to, so  to Tobias. Many thanks to you all Lee Lee On Thu, Aug 17, 2017 at 11:47 AM, Tobias Fröschle via

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

2017-08-17 Thread Tobias Fröschle via Ql-Users
Lee, in case your question is really only Turbo Toolkit specific, you can very well do away with a much simpler solution than WHEN ERRor clauses: 1000 IF TK_VER$ <> "" 1010 REM do whatever you want to do when Turbo Toolkit is loaded 1020 ELSE 1030 REM Do whatever you want to do if it is not

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

2017-08-17 Thread Dilwyn Jones via Ql-Users
In that sense, the easiest way is to load the smallest keyword checking extension and just accept the chicken and egg scenario and that there is a risk that you may multiply-load that one small extension. One such extension is Phil Borman's EXISTS (on Toolkits page on my site). Be aware that

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

2017-08-17 Thread Lee Privett via Ql-Users
Perhaps I should clarify this a little further. Using Q-emuLator, my boot first loads SMSQ_QEM and restarts with the same boot, I will always do this or use QPC2, I am not really looking for a BBQL solution as it is development for other things. Where this [code]IF VER$<>"HBA" THEN LRESPR

Re: [Ql-Users] EXEP_W

2017-08-17 Thread matrassyl--- via Ql-Users
Hi Michael, I haven't used FEP myself but It looks as if what you propose could work, although I don`t understand why you would need to check job priority, job owner, and job name to check if it is still running. Wouldn't NXJOB(id) which returns -1 if the job dosn't exist be sufficient and

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

2017-08-17 Thread Derek Stewart via Ql-Users
Hi Tobias, The WHEN solution is great, but on some version of QODS, the WHEN ERRor did not work. There are some people still using AH,JM, roms which may have problems with WHEN ERRor -- Regards, Derek On 17/08/17 10:39, Tobias Fröschle via Ql-Users wrote: After I sent this, I realised a

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

2017-08-17 Thread Derek Stewart via Ql-Users
Hi, Would it be possible to add in a code letter in TK_VER$ for each version of Turbo Toolkit, i.e. TK_VER$ for SMS, 3.40s -- Regards, Derek On 17/08/17 10:25, Tobias Fröschle via Ql-Users wrote: Lee, there are a number of toolkits that allow you to check for specific other toolkit

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

2017-08-17 Thread Tobias Fröschle via Ql-Users
After I sent this, I realised a bit of explanation might be in order, as WHEN ERRor is not so well-known: When the interpreter passes a WHEN ERRor/END WHEN pair during normal program execution, it doesn't do anything with the commands inside the clause but remembering "I should do this in case

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

2017-08-17 Thread Tobias Fröschle via Ql-Users
Lee, there are a number of toolkits that allow you to check for specific other toolkit commands loaded or not - But this is a bit useless as it leaves you with a chicken-and-egg problem: How to check whether the checking toolkit is loaded? Your best bet on SMSQ/E would be a WHEN ERRor clause

[Ql-Users] TURBO and testing it exists

2017-08-17 Thread Lee Privett via Ql-Users
I originally posted this on the forum: Hi community, I have searched for this on the forum but cannot find an entry but I am sure this has been asked before. I currently test for the presence of the HBA ROM in a boot program using VER$ and would like to test for other toolkits, specifically the