ô > WinLib ô BASIC Library Procedures ô by Alan Blundell (ô for Master Series only 2ô (C) BAU July 1990 <ô Updated by J.G.Harston F: P`ô Requires global control block at X%, Y%=X%DIV256 large enough for longest title + 16 bytes ZEô eg DIM ctrl% 48:X%=ctrl%:Y%=X%DIV256 allows 32-character titles d6ô On startup, do *WCLEAR to clear all windows data n: xÝòwin_closeall ‚!X%=&00404:A%=193:Ö&FFF1 Œá –:  Ýòwin_close ª!X%=&10404:A%=193:Ö&FFF1 ´á ¾: ÈÝòwin_release Ò!X%=&20404:A%=193:Ö&FFF1 Üá æ: ðÝòwin_title(title$) ú$(X%+14)=title$ á : BÝòwin_colours(fore%,back%,barcol%,barback%,edgecol%,edgeback%) "6X%?8=fore%:X%?9=back%:X%?10=barcol%:X%?11=barback% ,"X%?12=edgecol%:X%?13=edgeback% 6á @: J1Ýòwin_open(action%,left%,bottom%,right%,top%) T(!X%=15+©$(X%+14):X%?1=4:X%?2=action% ^1X%?4=left%:X%?5=bottom%:X%?6=right%:X%?7=top% hA%=193:Ö&FFF1 rá ÿ