WiQget - a new software
- Giorgio Garabello
- Gold Card
- Posts: 299
- Joined: Tue Jun 30, 2015 8:39 am
- Location: Turin, Italy
- Contact:
Re: WiQget - a new software
They look beautifull 
I hope you dont mind my suggestions..
Use RDPT instead of INKEY$ in the waiting loop. Looks better and works
better. You could then also use your own pointer icon..
There is some flickering: Avoid screen refreshes when no info has changed
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, eg:
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 idea
Better, perhaps to use WIN as the default as most SMSQ/E
systems will have at least one, or failing that use FLP. Heres a tip on
scanning for which devices are available. RUN in a normal SBASIC:
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..
BTW, you are assuming everyone using your program has ptrmen loaded at
boot time?
Keep QLing!
Per

I hope you dont mind my suggestions..
Use RDPT instead of INKEY$ in the waiting loop. Looks better and works
better. You could then also use your own pointer icon..
There is some flickering: Avoid screen refreshes when no info has changed
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, eg:
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
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 idea

systems will have at least one, or failing that use FLP. Heres a tip on
scanning for which devices are available. RUN in a normal SBASIC:
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 :
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..
BTW, you are assuming everyone using your program has ptrmen loaded at
boot time?
Keep QLing!
Per
Per
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
- Giorgio Garabello
- Gold Card
- Posts: 299
- Joined: Tue Jun 30, 2015 8:39 am
- Location: Turin, Italy
- Contact:
Re: WiQget - a new software
They make me very happy!pjw wrote:They look beautifull
I hope you dont mind my suggestions..
I need feedback to improve my work.
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
Can you tell me in which programs in particular have noticed the flicker?
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.
I think eventually occupy more time and resources to scan the available devices, physical access to data is much slower.
I not, however, exclude the possibility of changing that in the next version.
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?

This however is a first primitive version, almost a beta.
Thanks to the valuable tips you have given me today and to those who gave me Urs Koenig time ago I'm going to completely rewrite the code and possibly create new WiQget.
Quantum Technology
http://www.hunggartorino.it/ql/language/en/
http://www.hunggartorino.it/ql/language/en/
Re: WiQget - a new software
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?
Per
Per
Per
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen