WiQget - a new software
Posted: Mon Nov 28, 2016 7:59 pm
RIP Sir Clive Sinclair 1940 - 2021
https://theqlforum.com/
Code: Select all
PickJobs "QTW "
:
REMark Pick all jobs containing given string
:
DEFine PROCedure PickJobs(n$)
LOCal lp, n
n = 0
REPeat lp
n = NXJOB(n, 0): IF n = 0: EXIT lp
IF n$ INSTR JOB$(n): PTOP n
END REPeat lp
END DEFine
Code: Select all
1 REMark Testing DevGet
2 CLS
3 DevGet
4 RAM_USE flp
5 PRINT
6 DevGet
7 RAM_USE ram
8 :
100 REMark Print available directory device names
101 REMark SMSQ/E 3+ or toolkit with PEEK (!!..)
102 REMark V0.03 May 7th 2014
103 :
104 DEFine PROCedure DevList
105 LOCal gdl, p, dd$(4)
106 p = PEEK_L(!! 72)
107 REPeat gdl
108 dd$ = PEEK$(p + 38, PEEK_W(p + 36))
109 PRINT 'Usage'! dd$;
110 :
111 dd$ = PEEK$(p + 44, PEEK_W(p + 42))
112 PRINT ', Real '! dd$
113 :
114 p = PEEK_L(p): IF p = 0: EXIT gdl
115 END REPeat gdl
116 END DEFine DevList
117 :
They make me very happy!pjw wrote:They look beautifull
I hope you dont mind my suggestions..
Ok, I'll try ASAPUse RDPT instead of INKEY$ in the waiting loop. Looks better and works
better. You could then also use your own pointer icon..
That sounds strange, on two computers, where I tested the programs have not noticed flickering and sightseeing program (which is very simple) makes the refresh only the data changes.There is some flickering: Avoid screen refreshes when no info has changed
Now that's a good idea!There should be a utility to put on a Hotkey to pick all WiQget programs
to the top of the pile, as for buttons. For example you could scan the
jobtree for any jobs that start with "QTW " and Pick them,
You're right, but the choice of default has been made to have the simplest and smallest possible code.RAM is a perhaps not a good choice for using as the default device, as
accessing each ram disk causes it to be initialised, using up a lot of
memory. I researched this once, but cant remember the result, only that it
was a bad ideaBetter, perhaps to use WIN as the default as most SMSQ/E
systems will have at least one, or failing that use FLP.
Very interesting, why not join forces in a common project?Funny you should be doing this right now. Its very similar to what I was
doing, when I briefly stoppped to download and test your offerings. I have
a few little programs that I use for user input/output, similar to JMS'es
QMenu: Get a filename, date, colour, etc, or display a help screen, popup
text etc. They are mini menu programs, that all have a few characteristics
in common, which the calling program controls by passing parameters on the
command line, and reading the return values. There must be something in
the wind..
Exactly, I forgot to write it in the documentationBTW, you are assuming everyone using your program has ptrmen loaded at
boot time?
I havent caught it in the act yet, but I do notice a distracting flicker in the Lower RH corner of my screenGiorgio Garabello wrote:That sounds strange, on two computers, where I tested the programs have not noticed flickering and sightseeing program (which is very simple) makes the refresh only the data changes.pjw wrote: There is some flickering: Avoid screen refreshes when no info has changed
Can you tell me in which programs in particular have noticed the flicker?
When a critical mass of my tools are sort of ready, Ill try to put them up on GitHub. You could do the same with yours..Very interesting, why not join forces in a common project?Funny you should be doing this right now. Its very similar to what I was
doing, when I briefly stoppped to download and test your offerings. I have
a few little programs that I use for user input/output, similar to JMS'es
QMenu: Get a filename, date, colour, etc, or display a help screen, popup
text etc. They are mini menu programs, that all have a few characteristics
in common, which the calling program controls by passing parameters on the
command line, and reading the return values. There must be something in
the wind..
Since EasyPtr is one of the easiest ways to produce menu-type programs (Yes, I have considered other methods) and since it is now free, couldnt we be allowed to assume that everyone wishing to use such programs will have ptrmen_cde loaded at boot time, to avoid having to add the 8-15Kb toolkit to every tiny applet? IMHO, ptrmen_cde should be considered a strategic core extension on high-end PE systems, together with the likes of QLib_run, FI2, etc..Exactly, I forgot to write it in the documentationBTW, you are assuming everyone using your program has ptrmen loaded at boot time?