QLIPS

See all articles from Sinc-Link v10 n3
Author(s): Hugh H. Howie
Publication: Sinc-Link
Pub Details: Sinc-Link v10 n3 (Volume 10, Issue 3)
Date: May/June 1992
Pages: 37

This little snippet of a program is so beautiful I cannot understand why we have not found it long before this.

Remember all those windows we would like to get rid of when we change programs? The ones that overlap on the new windows? We do not want to do RESET as it might spoil something else; well this is called WINDEX, and just like the name of that wonderful blue stuff you are given in the spring and told GIT OUT THERE!!!! This little beauty will clean up all those fancy windows for you; well not really all, but most of them.

It will not get rid of those EXEC windows but is a dandy for the S/B (watch your langwidge) F1 windows.

It is not in the Library yet as I only received it recently, but it’s gonna be one o’dem days.

WINDEX _BAS

100 REMark ==============================
105 REMark ********* WINDex_bas *********
110 REMark ==============================
115 :
120 REMark Restores F1 Screen WINDOWs
125 REMark #0, #1 and #2 to their
130 REMark Normal values if they are
135 REMark "Trashed" by an unruly program
140 REMark Contributed by Ed Kingsley
145 :
150 REMark Extract and add the PROCedure
155 REMark To your own graphic programs
160 REMark & Games to clean your WINDOWs
165 :
170 REMark LRUN WINDex_bas
175 :
200 windex
202 :
300 DEFine PROCedure windex
302 REMark ------------------
304 MODE 4
306 WINDOW#0,512,50,0,206:PAPER#0,0:INK#0,5:
CSIZE#0,0,0
308 OPEN#1,con_256x202a256x0_128:PAPER#1,2:
INK#1,7:BORDER#1,1,255:CSIZE#1,0,0
310 OPEN#2,con_256x202a0x0_128:PAPER#2,7:
INK#2,2:BORDER#2,1,255:CSIZE#2,0,0
312 CLS#0:CLS#1:CLS#2
314 END DEFine windex

(022192)

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.