Home » Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199201.adf » January92 » !AWJan92/Goodies/Reminders/!Reminders/!RunImage

!AWJan92/Goodies/Reminders/!Reminders/!RunImage

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199201.adf » January92
Filename: !AWJan92/Goodies/Reminders/!Reminders/!RunImage
Read OK:
File size: 1C4C bytes
Load address: 0000
Exec address: 0000
File contents
   10REM |>!RunImage file for !Reminders
   20REM Desktop Memo Utility
   30REM Started : 31-3-91
   40REM Vipula De Silva
   50
   60PROCinitialize
   70PROCloadsprites
   80PROCloaddata
   90PROCputicononbar
  100PROCwindowmake(block%)
  110PROCmemomake
  120PROCpoll
  130
  140DEFPROCinitialize
  150ON ERROR PROCerror
  160ibarm%=FALSE
  170DIM block% 2000, ibarsprites% 1000, sprites% 12000, menu% 200, wkspace% 2000, pth% 20
  180$block% = "TASK"
  190SYS "Wimp_Initialise",200, !block%, "Reminders" TO , ourtask%, taskhand%
  200ENDPROC
  210
  220DEFPROCloadsprites
  230!ibarsprites%  = 1000 : ibarsprites%!4  = 0
  240ibarsprites%!8 = 16   : ibarsprites%!16 = 16
  250SYS "OS_SpriteOp", &10A, ibarsprites%, "<Reminders$Path>.!Sprites"
  260!sprites%  = 12000 : sprites%!4  = 0
  270sprites%!8 = 16    : sprites%!12 = 16
  280SYS "OS_SpriteOp", &10A, sprites%, "<Reminders$Path>.Sprites"
  290ENDPROC
  300
  310DEFPROCloaddata
  320SYS "OS_File",&05,"<Reminders$Path>.List" TO type%,,,,length%
  330IF type%<>1 THEN ERROR 1,"Can't find <Reminders$Path>.List"
  340numlines% = length%/20
  350DIM lines% length%
  360IF length%<>0 THEN
  370   SYS "OS_File",&FF,"<Reminders$Path>.List",lines%,00
  380ENDIF
  390ENDPROC
  400
  410DEFPROCputicononbar
  420DIM isp% 10
  430$isp% = "!Reminders"
  440!block%   = -1   : block%!4  = 0
  450block%!8  = 0    : block%!12 = 68
  460block%!16 = 68   : block%!20 = &3102
  470block%!24 = isp% : block%!28 = ibarsprites%
  480block%!32 = LEN$isp%+1
  490SYS "Wimp_CreateIcon",,block% TO ib%
  500ENDPROC
  510
  520DEFPROCwindowmake(block%)
  530SYS "Wimp_OpenTemplate",,"<Reminders$Path>.Templates"
  540   Memo%    = FNtmpload("Memo")
  550   Info%    = FNtmpload("Info")
  560   Blank%   = FNtmpload("Blank")
  570   Newitem% = FNtmpload("Newitem")
  580   Change%  = FNtmpload("Change")
  590SYS "Wimp_CloseTemplate"
  600List%=FNmakelist
  610ENDPROC
  620
  630DEFPROCmemomake
  640!block% = Memo%
  650SYS "Wimp_GetWindowInfo",,block%
  660SYS "Wimp_OpenWindow",,block%
  670ENDPROC
  680
  690DEFPROCpoll
  700poll_mask% = NOT(&60240) : quit% = FALSE
  710REPEAT
  720SYS "Wimp_Poll",,block% TO reason%
  730CASE reason% OF
  740   WHEN 4      : PROCpoutwin(block%)
  750   WHEN 5      : PROCpinwin(block%)
  760   WHEN 6      : PROCbuttons(block%)
  770   WHEN 8      : PROCkeypressed(block%)
  780   WHEN 9      : PROCmenuselect(block%)
  790   WHEN 17,18  : IF block%!16=0 THEN quit%=TRUE
  800ENDCASE
  810UNTIL quit%
  820$(block%) = "TASK"
  830SYS "Wimp_CloseDown",taskhand%,!block%
  840END
  850
  860DEF PROCbuttons(block%)
  870IF block%!12=-2 AND block%!8 AND 2 THEN
  880   PROCmenu(block%)
  890ENDIF
  900IF block%!12=List% AND block%!8 AND 2 THEN
  910   PROClistmenu(block%)
  920ENDIF
  930IF block%!12=Change% AND block%!8 AND 4 THEN
  940   IF block%!16=2  OR block%!16=0 THEN PROCdelete
  950   IF block%!16=3  OR block%!16=1 THEN PROCpriority
  960ENDIF
  970ENDPROC
  980
  990DEF PROCmenu(block%)
 1000PROCcreatemenu
 1010ibarm% = TRUE
 1020SYS "Wimp_CreateMenu",,menu%+4, !block%-64, 190
 1030ENDPROC
 1040
 1050DEF PROCcreatemenu
 1060RESTORE 2810
 1070READ title$
 1080!menu%   = 1  : menu%?16 = 7
 1090menu%?17 = 2  : menu%?18 = 7
 1100menu%?19 = 0  : menu%!20 = 140
 1110menu%!24 = 40 : menu%!28 = 0
 1120ptr% = menu% + 32
 1130$(menu%+4) = title$
 1140REPEAT
 1150READ item$,t%
 1160!ptr%       = 0
 1170ptr%!4      = t%
 1180ptr%!8      = &07000021
 1190$(ptr%+12)  = item$
 1200ptr% = ptr% + 24
 1210UNTIL item$ = "Quit"
 1220ptr%!-24 = ptr%!-24 OR &80
 1230ENDPROC
 1240
 1250DEF PROCmenuselect(block%)
 1260IF !block%=1 AND ibarm% =TRUE THEN quit% = TRUE
 1270ENDPROC
 1280
 1290DEFPROCpinwin(block%)
 1300IF !block%=Memo% THEN PROClist
 1310ENDPROC
 1320
 1330DEFPROClist
 1340!block% = List%
 1350SYS "Wimp_GetWindowInfo",,block%
 1360SYS "Wimp_OpenWindow",,block%
 1370ENDPROC
 1380
 1390DEFPROCpoutwin(block%)
 1400IF !block%=List% THEN PROCkilllist
 1410ENDPROC
 1420
 1430DEFPROCkilllist
 1440!block% = List%
 1450SYS "Wimp_CloseWindow",,block%
 1460ENDPROC
 1470
 1480DEFPROClistmenu(block%)
 1490list$ = "" : ibarm% = FALSE : ll% = -1
 1500IF block%!16>0 AND block%!16<numlines%*2+1 THEN
 1510   ll% = INT(block%!16/2)-1
 1520ENDIF
 1530PROCcreatelistmenu
 1540SYS "Wimp_CreateMenu",,menu%+4, !block%, block%!4
 1550ENDPROC
 1560
 1570DEFPROCcreatelistmenu
 1580!menu%   = 1  : menu%?16 = 7
 1590menu%?17 = 2  : menu%?18 = 7
 1600menu%?19 = 0  : menu%!20 = 300
 1610menu%!24 = 40 : menu%!28 = 0
 1620ptr%=menu%+32 : $(menu%+4)="ListMenu"
 1630!ptr% = 0 : ptr%!4 = Newitem% : ptr%!8 = &07000021
 1640$(ptr%+12) = "Add New Item"
 1650ptr% = ptr% + 24
 1660!ptr% = &80 : ptr%!4 = Change% : ptr%!8 = &07000101
 1670IF ll% = -1 THEN
 1680   ptr%!4 = -1 : ptr%!8 = &07000021 : $(ptr%+12) = "            "
 1690ELSE
 1700   ptr%!8 = &07000101
 1710   ptr%!12 = (lines%+(20*ll%)) : ptr%!16 = -1 : ptr%!20 = 12
 1720ENDIF
 1730ENDPROC
 1740
 1750DEFPROCkeypressed(block%)
 1760IF !block%=Newitem% AND block%!24=13 THEN
 1770   PROCitementered(block%)
 1780ENDIF
 1790ENDPROC
 1800
 1810DEFPROCitementered(block%)
 1820SYS "Wimp_GetIconState",,block%
 1830new$ = $(block%!28)
 1840FORn=1 TO 20-LEN(new$)
 1850   new$ = new$ + " "
 1860NEXTn
 1870DIM nlines% length%+20
 1880FORn=0 TO length%-1
 1890   nlines%?n = lines%?n
 1900NEXTn
 1910$(nlines%+length%) = new$ : DIM lines% length%+20
 1920FORn=0 TO length%+19
 1930   lines%?n = nlines%?n
 1940NEXTn
 1950numlines% = numlines%+1 : length% = length%+20 : !block% = List%
 1960SYS "Wimp_DeleteWindow",,block%
 1970SYS "Wimp_CreateMenu",,-1
 1980List% = FNmakelist
 1990SYS "OS_File",&0A,"<Reminders$Path>.List",&FFD,,lines%,lines%+length%
 2000ENDPROC
 2010
 2020DEFPROCdelete
 2030DIM nlines% length%-20
 2040FORn=0 TO (ll%*20)-1
 2050   nlines%?n = lines%?n
 2060NEXTn
 2070FORn=lines%+((ll%+1)*20) TO lines%+length%-1
 2080   nlines%?((n-lines%)-20) = lines%?(n-lines%)
 2090NEXTn
 2100length% = length%-20 : numlines% = numlines%-1 :DIM lines% length%
 2110FORn=0 TO length%-1
 2120   lines%?n = nlines%?n
 2130NEXTn
 2140!block% = List%
 2150SYS "Wimp_DeleteWindow",,block%
 2160SYS "Wimp_CreateMenu",,-1
 2170List% = FNmakelist
 2180SYS "OS_File",&0A,"<Reminders$Path>.List",&FFD,,lines%,lines%+length%
 2190ENDPROC
 2200
 2210DEFPROCpriority
 2220IF ll%=0 THEN ENDPROC
 2230DIM nlines% length%
 2240FORn=0 TO 19
 2250   nlines%?n = lines%?(ll%*20+n)
 2260NEXTn
 2270FORn=0 TO 20*ll%-1
 2280   nlines%?(n+20) = lines%?n
 2290NEXTn
 2300FORn=0 TO(ll%+1)*20-1
 2310   lines%?n = nlines%?n
 2320NEXTn
 2330!block% = List%
 2340SYS "Wimp_DeleteWindow",,block%
 2350SYS "Wimp_CreateMenu",,-1
 2360List% = FNmakelist
 2370SYS "OS_File",&0A,"<Reminders$Path>.List",&FFD,,lines%,lines%+length%
 2380ENDPROC
 2390
 2400DEFFNtmpload(a$)
 2410SYS "Wimp_LoadTemplate",,block%,wkspace%,wkspace%+1999,-1,a$,0 TO ,,wkspace%
 2420IF a$="Info" THEN block%!64 = ibarsprites% ELSE block%!64 = sprites%
 2430SYS "Wimp_CreateWindow",,block% TO handle%
 2440=handle%
 2450
 2460DEFFNmakelist
 2470!block% = Blank%
 2480SYS "Wimp_GetWindowInfo",,block%
 2490listlength% = 72+((numlines%+1)*48) : icons% = (numlines%*2)+2 :icon% = 1
 2500block%!8 = -listlength% : block%!48 = -listlength% : block%!88 = icons%
 2510IF numlines%<>0 THEN
 2520   FORn=1 TO numlines%
 2530      pos% = 92+(32*icon%)    : icon% = icon%+2
 2540      block%!(pos%) = 16      : block%!(pos%+4) = -(72+(48*n))
 2550      block%!(pos%+8) = 344   : block%!(pos%+12) = -(72+(48*(n-1)))
 2560      block%!(pos%+16) = &27000101
 2570      block%!(pos%+20) = (lines%+(20*(n-1)))
 2580      block%!(pos%+24) = -1   : block%!(pos%+28) = 20
 2590      block%!(pos%+32) = 2    : block%!(pos%+36) = -(72+(48*n))
 2600      block%!(pos%+40) = 384  : block%!(pos%+44) = -(72+(48*(n-1)))
 2610      block%!(pos%+48) = &27000002
 2620      $(block%+pos%+52) = "side"
 2630   NEXTn
 2640ENDIF
 2650pos% = 92+(32*icon%)
 2660block%!(pos%) = 2             : block%!(pos%+4) = -(72+(48*(numlines%+1)))
 2670block%!(pos%+8) = 384         : block%!(pos%+12) = -(72+(48*numlines%))
 2680block%!(pos%+16) = &27000002
 2690$(block%+pos%+20) = "bottom"
 2700SYS "Wimp_CreateWindow",,block%+4 TO handle%
 2710=handle%
 2720
 2730DEFPROCerror
 2740SYS "Wimp_DragBox",,-1
 2750!block%=ERR:$(block%+4)=REPORT$+" at line "+STR$(ERL)
 2760SYS "Wimp_ReportError",block%,7+ABS(16*(ERR=99)),"Reminder" TO choice%
 2770SYS "Wimp_CloseDown"
 2780END
 2790
 2800REM Data for the menu
 2810DATA Reminders
 2820DATA Info,Info%
 2830DATA Quit,-1

%� |>!RunImage file for !Reminders
� Desktop Memo Utility
� Started : 31-3-91
(� Vipula De Silva
2
<�initialize
F�loadsprites
P
�loaddata
Z�puticononbar
d�windowmake(block%)
n
�memomake
x	�poll
�
���initialize
�� � �error
�ibarm%=�
�W� block% 2000, ibarsprites% 1000, sprites% 12000, menu% 200, wkspace% 2000, pth% 20
�$block% = "TASK"
�Jș "Wimp_Initialise",200, !block%, "Reminders" � , ourtask%, taskhand%
��
�
���loadsprites
�/!ibarsprites%  = 1000 : ibarsprites%!4  = 0
�0ibarsprites%!8 = 16   : ibarsprites%!16 = 16
�Eș "OS_SpriteOp", &10A, ibarsprites%, "<Reminders$Path>.!Sprites"
(!sprites%  = 12000 : sprites%!4  = 0
)sprites%!8 = 16    : sprites%!12 = 16
@ș "OS_SpriteOp", &10A, sprites%, "<Reminders$Path>.Sprites"
"�
,
6��loaddata
@?ș "OS_File",&05,"<Reminders$Path>.List" � type%,,,,length%
J7� type%<>1 � � 1,"Can't find <Reminders$Path>.List"
Tnumlines% = length%/20
^� lines% length%
h� length%<>0 �
r9   ș "OS_File",&FF,"<Reminders$Path>.List",lines%,00
|�
��
�
���puticononbar
�
� isp% 10
�$isp% = "!Reminders"
�$!block%   = -1   : block%!4  = 0
�%block%!8  = 0    : block%!12 = 68
�(block%!16 = 68   : block%!20 = &3102
�/block%!24 = isp% : block%!28 = ibarsprites%
�block%!32 = �$isp%+1
�&ș "Wimp_CreateIcon",,block% � ib%
��
�
��windowmake(block%)
8ș "Wimp_OpenTemplate",,"<Reminders$Path>.Templates"
"   Memo%    = �tmpload("Memo")
&"   Info%    = �tmpload("Info")
0#   Blank%   = �tmpload("Blank")
:%   Newitem% = �tmpload("Newitem")
D$   Change%  = �tmpload("Change")
Nș "Wimp_CloseTemplate"
XList%=�makelist
b�
l
v��memomake
�!block% = Memo%
�#ș "Wimp_GetWindowInfo",,block%
� ș "Wimp_OpenWindow",,block%
��
�
�
��poll
�&poll_mask% = �(&60240) : quit% = �
��
�$ș "Wimp_Poll",,block% � reason%
�Ȏ reason% �
�"   � 4      : �poutwin(block%)
�!   � 5      : �pinwin(block%)
�"   � 6      : �buttons(block%)
%   � 8      : �keypressed(block%)
%   � 9      : �menuselect(block%)
)   � 17,18  : � block%!16=0 � quit%=�
 �
*� quit%
4$(block%) = "TASK"
>)ș "Wimp_CloseDown",taskhand%,!block%
H�
R
\� �buttons(block%)
f#� block%!12=-2 � block%!8 � 2 �
p   �menu(block%)
z�
�&� block%!12=List% � block%!8 � 2 �
�   �listmenu(block%)
��
�(� block%!12=Change% � block%!8 � 4 �
�-   � block%!16=2  � block%!16=0 � �delete
�/   � block%!16=3  � block%!16=1 � �priority
��
��
�
�� �menu(block%)
��createmenu
�ibarm% = �
�2ș "Wimp_CreateMenu",,menu%+4, !block%-64, 190
�

� �createmenu
$
� �dzJ
.� title$
8 !menu%   = 1  : menu%?16 = 7
B menu%?17 = 2  : menu%?18 = 7
L"menu%?19 = 0  : menu%!20 = 140
V menu%!24 = 40 : menu%!28 = 0
`ptr% = menu% + 32
j$(menu%+4) = title$
t�
~� item$,t%
�!ptr%       = 0
�ptr%!4      = t%
�ptr%!8      = &07000021
�$(ptr%+12)  = item$
�ptr% = ptr% + 24
�� item$ = "Quit"
�ptr%!-24 = ptr%!-24 � &80
��
�
�� �menuselect(block%)
�'� !block%=1 � ibarm% =� � quit% = �
��


��pinwin(block%)
� !block%=Memo% � �list
�
(
2
��list
<!block% = List%
F#ș "Wimp_GetWindowInfo",,block%
P ș "Wimp_OpenWindow",,block%
Z�
d
n��poutwin(block%)
x� !block%=List% � �killlist
��
�
���killlist
�!block% = List%
�!ș "Wimp_CloseWindow",,block%
��
�
���listmenu(block%)
�&list$ = "" : ibarm% = � : ll% = -1
�-� block%!16>0 � block%!16<numlines%*2+1 �
�   ll% = �(block%!16/2)-1
��
��createlistmenu
4ș "Wimp_CreateMenu",,menu%+4, !block%, block%!4
�

"��createlistmenu
, !menu%   = 1  : menu%?16 = 7
6 menu%?17 = 2  : menu%?18 = 7
@"menu%?19 = 0  : menu%!20 = 300
J menu%!24 = 40 : menu%!28 = 0
T)ptr%=menu%+32 : $(menu%+4)="ListMenu"
^6!ptr% = 0 : ptr%!4 = Newitem% : ptr%!8 = &07000021
h$(ptr%+12) = "Add New Item"
rptr% = ptr% + 24
|7!ptr% = &80 : ptr%!4 = Change% : ptr%!8 = &07000101
�� ll% = -1 �
�E   ptr%!4 = -1 : ptr%!8 = &07000021 : $(ptr%+12) = "            "
��
�   ptr%!8 = &07000101
�@   ptr%!12 = (lines%+(20*ll%)) : ptr%!16 = -1 : ptr%!20 = 12
��
��
�
���keypressed(block%)
�'� !block%=Newitem% � block%!24=13 �
�   �itementered(block%)
��
��

��itementered(block%)
"ș "Wimp_GetIconState",,block%
&new$ = $(block%!28)
0�n=1 � 20-�(new$)
:   new$ = new$ + " "
D�n
N� nlines% length%+20
X�n=0 � length%-1
b   nlines%?n = lines%?n
l�n
v3$(nlines%+length%) = new$ : � lines% length%+20
��n=0 � length%+19
�   lines%?n = nlines%?n
��n
�Dnumlines% = numlines%+1 : length% = length%+20 : !block% = List%
�"ș "Wimp_DeleteWindow",,block%
�ș "Wimp_CreateMenu",,-1
�List% = �makelist
�Hș "OS_File",&0A,"<Reminders$Path>.List",&FFD,,lines%,lines%+length%
��
�
���delete
�� nlines% length%-20
��n=0 � (ll%*20)-1
   nlines%?n = lines%?n
�n
-�n=lines%+((ll%+1)*20) � lines%+length%-1
 2   nlines%?((n-lines%)-20) = lines%?(n-lines%)
*�n
4Dlength% = length%-20 : numlines% = numlines%-1 :� lines% length%
>�n=0 � length%-1
H   lines%?n = nlines%?n
R�n
\!block% = List%
f"ș "Wimp_DeleteWindow",,block%
pș "Wimp_CreateMenu",,-1
zList% = �makelist
�Hș "OS_File",&0A,"<Reminders$Path>.List",&FFD,,lines%,lines%+length%
��
�
���priority
�� ll%=0 � �
�� nlines% length%
�
�n=0 � 19
�$   nlines%?n = lines%?(ll%*20+n)
��n
��n=0 � 20*ll%-1
�    nlines%?(n+20) = lines%?n
��n
��n=0 �(ll%+1)*20-1
	   lines%?n = nlines%?n
	�n
	!block% = List%
	$"ș "Wimp_DeleteWindow",,block%
	.ș "Wimp_CreateMenu",,-1
	8List% = �makelist
	BHș "OS_File",&0A,"<Reminders$Path>.List",&FFD,,lines%,lines%+length%
	L�
	V
	`ݤtmpload(a$)
	jNș "Wimp_LoadTemplate",,block%,wkspace%,wkspace%+1999,-1,a$,0 � ,,wkspace%
	tA� a$="Info" � block%!64 = ibarsprites% � block%!64 = sprites%
	~,ș "Wimp_CreateWindow",,block% � handle%
	�=handle%
	�
	�ݤmakelist
	�!block% = Blank%
	�#ș "Wimp_GetWindowInfo",,block%
	�Mlistlength% = 72+((numlines%+1)*48) : icons% = (numlines%*2)+2 :icon% = 1
	�Kblock%!8 = -listlength% : block%!48 = -listlength% : block%!88 = icons%
	�� numlines%<>0 �
	�   �n=1 � numlines%
	�3      pos% = 92+(32*icon%)    : icon% = icon%+2
	�B      block%!(pos%) = 16      : block%!(pos%+4) = -(72+(48*n))
	�G      block%!(pos%+8) = 344   : block%!(pos%+12) = -(72+(48*(n-1)))
&      block%!(pos%+16) = &27000101

0      block%!(pos%+20) = (lines%+(20*(n-1)))
9      block%!(pos%+24) = -1   : block%!(pos%+28) = 20
C      block%!(pos%+32) = 2    : block%!(pos%+36) = -(72+(48*n))
(G      block%!(pos%+40) = 384  : block%!(pos%+44) = -(72+(48*(n-1)))
2&      block%!(pos%+48) = &27000002
<$      $(block%+pos%+52) = "side"
F	   �n
P�
Zpos% = 92+(32*icon%)
dNblock%!(pos%) = 2             : block%!(pos%+4) = -(72+(48*(numlines%+1)))
nKblock%!(pos%+8) = 384         : block%!(pos%+12) = -(72+(48*numlines%))
x block%!(pos%+16) = &27000002
� $(block%+pos%+20) = "bottom"
�.ș "Wimp_CreateWindow",,block%+4 � handle%
�=handle%
�
���error
�ș "Wimp_DragBox",,-1
�-!block%=�:$(block%+4)=�$+" at line "+�(�)
�Dș "Wimp_ReportError",block%,7+�(16*(�=99)),"Reminder" � choice%
�ș "Wimp_CloseDown"
��
�
�� Data for the menu
�� Reminders
� Info,Info%

� Quit,-1
�
00000000  0d 00 0a 25 f4 20 7c 3e  21 52 75 6e 49 6d 61 67  |...%. |>!RunImag|
00000010  65 20 66 69 6c 65 20 66  6f 72 20 21 52 65 6d 69  |e file for !Remi|
00000020  6e 64 65 72 73 0d 00 14  1a f4 20 44 65 73 6b 74  |nders..... Deskt|
00000030  6f 70 20 4d 65 6d 6f 20  55 74 69 6c 69 74 79 0d  |op Memo Utility.|
00000040  00 1e 17 f4 20 53 74 61  72 74 65 64 20 3a 20 33  |.... Started : 3|
00000050  31 2d 33 2d 39 31 0d 00  28 15 f4 20 56 69 70 75  |1-3-91..(.. Vipu|
00000060  6c 61 20 44 65 20 53 69  6c 76 61 0d 00 32 04 0d  |la De Silva..2..|
00000070  00 3c 0f f2 69 6e 69 74  69 61 6c 69 7a 65 0d 00  |.<..initialize..|
00000080  46 10 f2 6c 6f 61 64 73  70 72 69 74 65 73 0d 00  |F..loadsprites..|
00000090  50 0d f2 6c 6f 61 64 64  61 74 61 0d 00 5a 11 f2  |P..loaddata..Z..|
000000a0  70 75 74 69 63 6f 6e 6f  6e 62 61 72 0d 00 64 17  |puticononbar..d.|
000000b0  f2 77 69 6e 64 6f 77 6d  61 6b 65 28 62 6c 6f 63  |.windowmake(bloc|
000000c0  6b 25 29 0d 00 6e 0d f2  6d 65 6d 6f 6d 61 6b 65  |k%)..n..memomake|
000000d0  0d 00 78 09 f2 70 6f 6c  6c 0d 00 82 04 0d 00 8c  |..x..poll.......|
000000e0  10 dd f2 69 6e 69 74 69  61 6c 69 7a 65 0d 00 96  |...initialize...|
000000f0  0e ee 20 85 20 f2 65 72  72 6f 72 0d 00 a0 0c 69  |.. . .error....i|
00000100  62 61 72 6d 25 3d a3 0d  00 aa 57 de 20 62 6c 6f  |barm%=....W. blo|
00000110  63 6b 25 20 32 30 30 30  2c 20 69 62 61 72 73 70  |ck% 2000, ibarsp|
00000120  72 69 74 65 73 25 20 31  30 30 30 2c 20 73 70 72  |rites% 1000, spr|
00000130  69 74 65 73 25 20 31 32  30 30 30 2c 20 6d 65 6e  |ites% 12000, men|
00000140  75 25 20 32 30 30 2c 20  77 6b 73 70 61 63 65 25  |u% 200, wkspace%|
00000150  20 32 30 30 30 2c 20 70  74 68 25 20 32 30 0d 00  | 2000, pth% 20..|
00000160  b4 14 24 62 6c 6f 63 6b  25 20 3d 20 22 54 41 53  |..$block% = "TAS|
00000170  4b 22 0d 00 be 4a c8 99  20 22 57 69 6d 70 5f 49  |K"...J.. "Wimp_I|
00000180  6e 69 74 69 61 6c 69 73  65 22 2c 32 30 30 2c 20  |nitialise",200, |
00000190  21 62 6c 6f 63 6b 25 2c  20 22 52 65 6d 69 6e 64  |!block%, "Remind|
000001a0  65 72 73 22 20 b8 20 2c  20 6f 75 72 74 61 73 6b  |ers" . , ourtask|
000001b0  25 2c 20 74 61 73 6b 68  61 6e 64 25 0d 00 c8 05  |%, taskhand%....|
000001c0  e1 0d 00 d2 04 0d 00 dc  11 dd f2 6c 6f 61 64 73  |...........loads|
000001d0  70 72 69 74 65 73 0d 00  e6 2f 21 69 62 61 72 73  |prites.../!ibars|
000001e0  70 72 69 74 65 73 25 20  20 3d 20 31 30 30 30 20  |prites%  = 1000 |
000001f0  3a 20 69 62 61 72 73 70  72 69 74 65 73 25 21 34  |: ibarsprites%!4|
00000200  20 20 3d 20 30 0d 00 f0  30 69 62 61 72 73 70 72  |  = 0...0ibarspr|
00000210  69 74 65 73 25 21 38 20  3d 20 31 36 20 20 20 3a  |ites%!8 = 16   :|
00000220  20 69 62 61 72 73 70 72  69 74 65 73 25 21 31 36  | ibarsprites%!16|
00000230  20 3d 20 31 36 0d 00 fa  45 c8 99 20 22 4f 53 5f  | = 16...E.. "OS_|
00000240  53 70 72 69 74 65 4f 70  22 2c 20 26 31 30 41 2c  |SpriteOp", &10A,|
00000250  20 69 62 61 72 73 70 72  69 74 65 73 25 2c 20 22  | ibarsprites%, "|
00000260  3c 52 65 6d 69 6e 64 65  72 73 24 50 61 74 68 3e  |<Reminders$Path>|
00000270  2e 21 53 70 72 69 74 65  73 22 0d 01 04 28 21 73  |.!Sprites"...(!s|
00000280  70 72 69 74 65 73 25 20  20 3d 20 31 32 30 30 30  |prites%  = 12000|
00000290  20 3a 20 73 70 72 69 74  65 73 25 21 34 20 20 3d  | : sprites%!4  =|
000002a0  20 30 0d 01 0e 29 73 70  72 69 74 65 73 25 21 38  | 0...)sprites%!8|
000002b0  20 3d 20 31 36 20 20 20  20 3a 20 73 70 72 69 74  | = 16    : sprit|
000002c0  65 73 25 21 31 32 20 3d  20 31 36 0d 01 18 40 c8  |es%!12 = 16...@.|
000002d0  99 20 22 4f 53 5f 53 70  72 69 74 65 4f 70 22 2c  |. "OS_SpriteOp",|
000002e0  20 26 31 30 41 2c 20 73  70 72 69 74 65 73 25 2c  | &10A, sprites%,|
000002f0  20 22 3c 52 65 6d 69 6e  64 65 72 73 24 50 61 74  | "<Reminders$Pat|
00000300  68 3e 2e 53 70 72 69 74  65 73 22 0d 01 22 05 e1  |h>.Sprites".."..|
00000310  0d 01 2c 04 0d 01 36 0e  dd f2 6c 6f 61 64 64 61  |..,...6...loadda|
00000320  74 61 0d 01 40 3f c8 99  20 22 4f 53 5f 46 69 6c  |ta..@?.. "OS_Fil|
00000330  65 22 2c 26 30 35 2c 22  3c 52 65 6d 69 6e 64 65  |e",&05,"<Reminde|
00000340  72 73 24 50 61 74 68 3e  2e 4c 69 73 74 22 20 b8  |rs$Path>.List" .|
00000350  20 74 79 70 65 25 2c 2c  2c 2c 6c 65 6e 67 74 68  | type%,,,,length|
00000360  25 0d 01 4a 37 e7 20 74  79 70 65 25 3c 3e 31 20  |%..J7. type%<>1 |
00000370  8c 20 85 20 31 2c 22 43  61 6e 27 74 20 66 69 6e  |. . 1,"Can't fin|
00000380  64 20 3c 52 65 6d 69 6e  64 65 72 73 24 50 61 74  |d <Reminders$Pat|
00000390  68 3e 2e 4c 69 73 74 22  0d 01 54 1a 6e 75 6d 6c  |h>.List"..T.numl|
000003a0  69 6e 65 73 25 20 3d 20  6c 65 6e 67 74 68 25 2f  |ines% = length%/|
000003b0  32 30 0d 01 5e 14 de 20  6c 69 6e 65 73 25 20 6c  |20..^.. lines% l|
000003c0  65 6e 67 74 68 25 0d 01  68 12 e7 20 6c 65 6e 67  |ength%..h.. leng|
000003d0  74 68 25 3c 3e 30 20 8c  0d 01 72 39 20 20 20 c8  |th%<>0 ...r9   .|
000003e0  99 20 22 4f 53 5f 46 69  6c 65 22 2c 26 46 46 2c  |. "OS_File",&FF,|
000003f0  22 3c 52 65 6d 69 6e 64  65 72 73 24 50 61 74 68  |"<Reminders$Path|
00000400  3e 2e 4c 69 73 74 22 2c  6c 69 6e 65 73 25 2c 30  |>.List",lines%,0|
00000410  30 0d 01 7c 05 cd 0d 01  86 05 e1 0d 01 90 04 0d  |0..|............|
00000420  01 9a 12 dd f2 70 75 74  69 63 6f 6e 6f 6e 62 61  |.....puticononba|
00000430  72 0d 01 a4 0d de 20 69  73 70 25 20 31 30 0d 01  |r..... isp% 10..|
00000440  ae 18 24 69 73 70 25 20  3d 20 22 21 52 65 6d 69  |..$isp% = "!Remi|
00000450  6e 64 65 72 73 22 0d 01  b8 24 21 62 6c 6f 63 6b  |nders"...$!block|
00000460  25 20 20 20 3d 20 2d 31  20 20 20 3a 20 62 6c 6f  |%   = -1   : blo|
00000470  63 6b 25 21 34 20 20 3d  20 30 0d 01 c2 25 62 6c  |ck%!4  = 0...%bl|
00000480  6f 63 6b 25 21 38 20 20  3d 20 30 20 20 20 20 3a  |ock%!8  = 0    :|
00000490  20 62 6c 6f 63 6b 25 21  31 32 20 3d 20 36 38 0d  | block%!12 = 68.|
000004a0  01 cc 28 62 6c 6f 63 6b  25 21 31 36 20 3d 20 36  |..(block%!16 = 6|
000004b0  38 20 20 20 3a 20 62 6c  6f 63 6b 25 21 32 30 20  |8   : block%!20 |
000004c0  3d 20 26 33 31 30 32 0d  01 d6 2f 62 6c 6f 63 6b  |= &3102.../block|
000004d0  25 21 32 34 20 3d 20 69  73 70 25 20 3a 20 62 6c  |%!24 = isp% : bl|
000004e0  6f 63 6b 25 21 32 38 20  3d 20 69 62 61 72 73 70  |ock%!28 = ibarsp|
000004f0  72 69 74 65 73 25 0d 01  e0 18 62 6c 6f 63 6b 25  |rites%....block%|
00000500  21 33 32 20 3d 20 a9 24  69 73 70 25 2b 31 0d 01  |!32 = .$isp%+1..|
00000510  ea 26 c8 99 20 22 57 69  6d 70 5f 43 72 65 61 74  |.&.. "Wimp_Creat|
00000520  65 49 63 6f 6e 22 2c 2c  62 6c 6f 63 6b 25 20 b8  |eIcon",,block% .|
00000530  20 69 62 25 0d 01 f4 05  e1 0d 01 fe 04 0d 02 08  | ib%............|
00000540  18 dd f2 77 69 6e 64 6f  77 6d 61 6b 65 28 62 6c  |...windowmake(bl|
00000550  6f 63 6b 25 29 0d 02 12  38 c8 99 20 22 57 69 6d  |ock%)...8.. "Wim|
00000560  70 5f 4f 70 65 6e 54 65  6d 70 6c 61 74 65 22 2c  |p_OpenTemplate",|
00000570  2c 22 3c 52 65 6d 69 6e  64 65 72 73 24 50 61 74  |,"<Reminders$Pat|
00000580  68 3e 2e 54 65 6d 70 6c  61 74 65 73 22 0d 02 1c  |h>.Templates"...|
00000590  22 20 20 20 4d 65 6d 6f  25 20 20 20 20 3d 20 a4  |"   Memo%    = .|
000005a0  74 6d 70 6c 6f 61 64 28  22 4d 65 6d 6f 22 29 0d  |tmpload("Memo").|
000005b0  02 26 22 20 20 20 49 6e  66 6f 25 20 20 20 20 3d  |.&"   Info%    =|
000005c0  20 a4 74 6d 70 6c 6f 61  64 28 22 49 6e 66 6f 22  | .tmpload("Info"|
000005d0  29 0d 02 30 23 20 20 20  42 6c 61 6e 6b 25 20 20  |)..0#   Blank%  |
000005e0  20 3d 20 a4 74 6d 70 6c  6f 61 64 28 22 42 6c 61  | = .tmpload("Bla|
000005f0  6e 6b 22 29 0d 02 3a 25  20 20 20 4e 65 77 69 74  |nk")..:%   Newit|
00000600  65 6d 25 20 3d 20 a4 74  6d 70 6c 6f 61 64 28 22  |em% = .tmpload("|
00000610  4e 65 77 69 74 65 6d 22  29 0d 02 44 24 20 20 20  |Newitem")..D$   |
00000620  43 68 61 6e 67 65 25 20  20 3d 20 a4 74 6d 70 6c  |Change%  = .tmpl|
00000630  6f 61 64 28 22 43 68 61  6e 67 65 22 29 0d 02 4e  |oad("Change")..N|
00000640  1b c8 99 20 22 57 69 6d  70 5f 43 6c 6f 73 65 54  |... "Wimp_CloseT|
00000650  65 6d 70 6c 61 74 65 22  0d 02 58 13 4c 69 73 74  |emplate"..X.List|
00000660  25 3d a4 6d 61 6b 65 6c  69 73 74 0d 02 62 05 e1  |%=.makelist..b..|
00000670  0d 02 6c 04 0d 02 76 0e  dd f2 6d 65 6d 6f 6d 61  |..l...v...memoma|
00000680  6b 65 0d 02 80 13 21 62  6c 6f 63 6b 25 20 3d 20  |ke....!block% = |
00000690  4d 65 6d 6f 25 0d 02 8a  23 c8 99 20 22 57 69 6d  |Memo%...#.. "Wim|
000006a0  70 5f 47 65 74 57 69 6e  64 6f 77 49 6e 66 6f 22  |p_GetWindowInfo"|
000006b0  2c 2c 62 6c 6f 63 6b 25  0d 02 94 20 c8 99 20 22  |,,block%... .. "|
000006c0  57 69 6d 70 5f 4f 70 65  6e 57 69 6e 64 6f 77 22  |Wimp_OpenWindow"|
000006d0  2c 2c 62 6c 6f 63 6b 25  0d 02 9e 05 e1 0d 02 a8  |,,block%........|
000006e0  04 0d 02 b2 0a dd f2 70  6f 6c 6c 0d 02 bc 26 70  |.......poll...&p|
000006f0  6f 6c 6c 5f 6d 61 73 6b  25 20 3d 20 ac 28 26 36  |oll_mask% = .(&6|
00000700  30 32 34 30 29 20 3a 20  71 75 69 74 25 20 3d 20  |0240) : quit% = |
00000710  a3 0d 02 c6 05 f5 0d 02  d0 24 c8 99 20 22 57 69  |.........$.. "Wi|
00000720  6d 70 5f 50 6f 6c 6c 22  2c 2c 62 6c 6f 63 6b 25  |mp_Poll",,block%|
00000730  20 b8 20 72 65 61 73 6f  6e 25 0d 02 da 10 c8 8e  | . reason%......|
00000740  20 72 65 61 73 6f 6e 25  20 ca 0d 02 e4 22 20 20  | reason% ...."  |
00000750  20 c9 20 34 20 20 20 20  20 20 3a 20 f2 70 6f 75  | . 4      : .pou|
00000760  74 77 69 6e 28 62 6c 6f  63 6b 25 29 0d 02 ee 21  |twin(block%)...!|
00000770  20 20 20 c9 20 35 20 20  20 20 20 20 3a 20 f2 70  |   . 5      : .p|
00000780  69 6e 77 69 6e 28 62 6c  6f 63 6b 25 29 0d 02 f8  |inwin(block%)...|
00000790  22 20 20 20 c9 20 36 20  20 20 20 20 20 3a 20 f2  |"   . 6      : .|
000007a0  62 75 74 74 6f 6e 73 28  62 6c 6f 63 6b 25 29 0d  |buttons(block%).|
000007b0  03 02 25 20 20 20 c9 20  38 20 20 20 20 20 20 3a  |..%   . 8      :|
000007c0  20 f2 6b 65 79 70 72 65  73 73 65 64 28 62 6c 6f  | .keypressed(blo|
000007d0  63 6b 25 29 0d 03 0c 25  20 20 20 c9 20 39 20 20  |ck%)...%   . 9  |
000007e0  20 20 20 20 3a 20 f2 6d  65 6e 75 73 65 6c 65 63  |    : .menuselec|
000007f0  74 28 62 6c 6f 63 6b 25  29 0d 03 16 29 20 20 20  |t(block%)...)   |
00000800  c9 20 31 37 2c 31 38 20  20 3a 20 e7 20 62 6c 6f  |. 17,18  : . blo|
00000810  63 6b 25 21 31 36 3d 30  20 8c 20 71 75 69 74 25  |ck%!16=0 . quit%|
00000820  3d b9 0d 03 20 05 cb 0d  03 2a 0b fd 20 71 75 69  |=... ....*.. qui|
00000830  74 25 0d 03 34 16 24 28  62 6c 6f 63 6b 25 29 20  |t%..4.$(block%) |
00000840  3d 20 22 54 41 53 4b 22  0d 03 3e 29 c8 99 20 22  |= "TASK"..>).. "|
00000850  57 69 6d 70 5f 43 6c 6f  73 65 44 6f 77 6e 22 2c  |Wimp_CloseDown",|
00000860  74 61 73 6b 68 61 6e 64  25 2c 21 62 6c 6f 63 6b  |taskhand%,!block|
00000870  25 0d 03 48 05 e0 0d 03  52 04 0d 03 5c 16 dd 20  |%..H....R...\.. |
00000880  f2 62 75 74 74 6f 6e 73  28 62 6c 6f 63 6b 25 29  |.buttons(block%)|
00000890  0d 03 66 23 e7 20 62 6c  6f 63 6b 25 21 31 32 3d  |..f#. block%!12=|
000008a0  2d 32 20 80 20 62 6c 6f  63 6b 25 21 38 20 80 20  |-2 . block%!8 . |
000008b0  32 20 8c 0d 03 70 14 20  20 20 f2 6d 65 6e 75 28  |2 ...p.   .menu(|
000008c0  62 6c 6f 63 6b 25 29 0d  03 7a 05 cd 0d 03 84 26  |block%)..z.....&|
000008d0  e7 20 62 6c 6f 63 6b 25  21 31 32 3d 4c 69 73 74  |. block%!12=List|
000008e0  25 20 80 20 62 6c 6f 63  6b 25 21 38 20 80 20 32  |% . block%!8 . 2|
000008f0  20 8c 0d 03 8e 18 20 20  20 f2 6c 69 73 74 6d 65  | .....   .listme|
00000900  6e 75 28 62 6c 6f 63 6b  25 29 0d 03 98 05 cd 0d  |nu(block%)......|
00000910  03 a2 28 e7 20 62 6c 6f  63 6b 25 21 31 32 3d 43  |..(. block%!12=C|
00000920  68 61 6e 67 65 25 20 80  20 62 6c 6f 63 6b 25 21  |hange% . block%!|
00000930  38 20 80 20 34 20 8c 0d  03 ac 2d 20 20 20 e7 20  |8 . 4 ....-   . |
00000940  62 6c 6f 63 6b 25 21 31  36 3d 32 20 20 84 20 62  |block%!16=2  . b|
00000950  6c 6f 63 6b 25 21 31 36  3d 30 20 8c 20 f2 64 65  |lock%!16=0 . .de|
00000960  6c 65 74 65 0d 03 b6 2f  20 20 20 e7 20 62 6c 6f  |lete.../   . blo|
00000970  63 6b 25 21 31 36 3d 33  20 20 84 20 62 6c 6f 63  |ck%!16=3  . bloc|
00000980  6b 25 21 31 36 3d 31 20  8c 20 f2 70 72 69 6f 72  |k%!16=1 . .prior|
00000990  69 74 79 0d 03 c0 05 cd  0d 03 ca 05 e1 0d 03 d4  |ity.............|
000009a0  04 0d 03 de 13 dd 20 f2  6d 65 6e 75 28 62 6c 6f  |...... .menu(blo|
000009b0  63 6b 25 29 0d 03 e8 0f  f2 63 72 65 61 74 65 6d  |ck%).....createm|
000009c0  65 6e 75 0d 03 f2 0e 69  62 61 72 6d 25 20 3d 20  |enu....ibarm% = |
000009d0  b9 0d 03 fc 32 c8 99 20  22 57 69 6d 70 5f 43 72  |....2.. "Wimp_Cr|
000009e0  65 61 74 65 4d 65 6e 75  22 2c 2c 6d 65 6e 75 25  |eateMenu",,menu%|
000009f0  2b 34 2c 20 21 62 6c 6f  63 6b 25 2d 36 34 2c 20  |+4, !block%-64, |
00000a00  31 39 30 0d 04 06 05 e1  0d 04 10 04 0d 04 1a 11  |190.............|
00000a10  dd 20 f2 63 72 65 61 74  65 6d 65 6e 75 0d 04 24  |. .createmenu..$|
00000a20  0a f7 20 8d 64 7a 4a 0d  04 2e 0c f3 20 74 69 74  |.. .dzJ..... tit|
00000a30  6c 65 24 0d 04 38 20 21  6d 65 6e 75 25 20 20 20  |le$..8 !menu%   |
00000a40  3d 20 31 20 20 3a 20 6d  65 6e 75 25 3f 31 36 20  |= 1  : menu%?16 |
00000a50  3d 20 37 0d 04 42 20 6d  65 6e 75 25 3f 31 37 20  |= 7..B menu%?17 |
00000a60  3d 20 32 20 20 3a 20 6d  65 6e 75 25 3f 31 38 20  |= 2  : menu%?18 |
00000a70  3d 20 37 0d 04 4c 22 6d  65 6e 75 25 3f 31 39 20  |= 7..L"menu%?19 |
00000a80  3d 20 30 20 20 3a 20 6d  65 6e 75 25 21 32 30 20  |= 0  : menu%!20 |
00000a90  3d 20 31 34 30 0d 04 56  20 6d 65 6e 75 25 21 32  |= 140..V menu%!2|
00000aa0  34 20 3d 20 34 30 20 3a  20 6d 65 6e 75 25 21 32  |4 = 40 : menu%!2|
00000ab0  38 20 3d 20 30 0d 04 60  15 70 74 72 25 20 3d 20  |8 = 0..`.ptr% = |
00000ac0  6d 65 6e 75 25 20 2b 20  33 32 0d 04 6a 17 24 28  |menu% + 32..j.$(|
00000ad0  6d 65 6e 75 25 2b 34 29  20 3d 20 74 69 74 6c 65  |menu%+4) = title|
00000ae0  24 0d 04 74 05 f5 0d 04  7e 0e f3 20 69 74 65 6d  |$..t....~.. item|
00000af0  24 2c 74 25 0d 04 88 13  21 70 74 72 25 20 20 20  |$,t%....!ptr%   |
00000b00  20 20 20 20 3d 20 30 0d  04 92 14 70 74 72 25 21  |    = 0....ptr%!|
00000b10  34 20 20 20 20 20 20 3d  20 74 25 0d 04 9c 1b 70  |4      = t%....p|
00000b20  74 72 25 21 38 20 20 20  20 20 20 3d 20 26 30 37  |tr%!8      = &07|
00000b30  30 30 30 30 32 31 0d 04  a6 17 24 28 70 74 72 25  |000021....$(ptr%|
00000b40  2b 31 32 29 20 20 3d 20  69 74 65 6d 24 0d 04 b0  |+12)  = item$...|
00000b50  14 70 74 72 25 20 3d 20  70 74 72 25 20 2b 20 32  |.ptr% = ptr% + 2|
00000b60  34 0d 04 ba 14 fd 20 69  74 65 6d 24 20 3d 20 22  |4..... item$ = "|
00000b70  51 75 69 74 22 0d 04 c4  1d 70 74 72 25 21 2d 32  |Quit"....ptr%!-2|
00000b80  34 20 3d 20 70 74 72 25  21 2d 32 34 20 84 20 26  |4 = ptr%!-24 . &|
00000b90  38 30 0d 04 ce 05 e1 0d  04 d8 04 0d 04 e2 19 dd  |80..............|
00000ba0  20 f2 6d 65 6e 75 73 65  6c 65 63 74 28 62 6c 6f  | .menuselect(blo|
00000bb0  63 6b 25 29 0d 04 ec 27  e7 20 21 62 6c 6f 63 6b  |ck%)...'. !block|
00000bc0  25 3d 31 20 80 20 69 62  61 72 6d 25 20 3d b9 20  |%=1 . ibarm% =. |
00000bd0  8c 20 71 75 69 74 25 20  3d 20 b9 0d 04 f6 05 e1  |. quit% = ......|
00000be0  0d 05 00 04 0d 05 0a 14  dd f2 70 69 6e 77 69 6e  |..........pinwin|
00000bf0  28 62 6c 6f 63 6b 25 29  0d 05 14 1b e7 20 21 62  |(block%)..... !b|
00000c00  6c 6f 63 6b 25 3d 4d 65  6d 6f 25 20 8c 20 f2 6c  |lock%=Memo% . .l|
00000c10  69 73 74 0d 05 1e 05 e1  0d 05 28 04 0d 05 32 0a  |ist.......(...2.|
00000c20  dd f2 6c 69 73 74 0d 05  3c 13 21 62 6c 6f 63 6b  |..list..<.!block|
00000c30  25 20 3d 20 4c 69 73 74  25 0d 05 46 23 c8 99 20  |% = List%..F#.. |
00000c40  22 57 69 6d 70 5f 47 65  74 57 69 6e 64 6f 77 49  |"Wimp_GetWindowI|
00000c50  6e 66 6f 22 2c 2c 62 6c  6f 63 6b 25 0d 05 50 20  |nfo",,block%..P |
00000c60  c8 99 20 22 57 69 6d 70  5f 4f 70 65 6e 57 69 6e  |.. "Wimp_OpenWin|
00000c70  64 6f 77 22 2c 2c 62 6c  6f 63 6b 25 0d 05 5a 05  |dow",,block%..Z.|
00000c80  e1 0d 05 64 04 0d 05 6e  15 dd f2 70 6f 75 74 77  |...d...n...poutw|
00000c90  69 6e 28 62 6c 6f 63 6b  25 29 0d 05 78 1f e7 20  |in(block%)..x.. |
00000ca0  21 62 6c 6f 63 6b 25 3d  4c 69 73 74 25 20 8c 20  |!block%=List% . |
00000cb0  f2 6b 69 6c 6c 6c 69 73  74 0d 05 82 05 e1 0d 05  |.killlist.......|
00000cc0  8c 04 0d 05 96 0e dd f2  6b 69 6c 6c 6c 69 73 74  |........killlist|
00000cd0  0d 05 a0 13 21 62 6c 6f  63 6b 25 20 3d 20 4c 69  |....!block% = Li|
00000ce0  73 74 25 0d 05 aa 21 c8  99 20 22 57 69 6d 70 5f  |st%...!.. "Wimp_|
00000cf0  43 6c 6f 73 65 57 69 6e  64 6f 77 22 2c 2c 62 6c  |CloseWindow",,bl|
00000d00  6f 63 6b 25 0d 05 b4 05  e1 0d 05 be 04 0d 05 c8  |ock%............|
00000d10  16 dd f2 6c 69 73 74 6d  65 6e 75 28 62 6c 6f 63  |...listmenu(bloc|
00000d20  6b 25 29 0d 05 d2 26 6c  69 73 74 24 20 3d 20 22  |k%)...&list$ = "|
00000d30  22 20 3a 20 69 62 61 72  6d 25 20 3d 20 a3 20 3a  |" : ibarm% = . :|
00000d40  20 6c 6c 25 20 3d 20 2d  31 0d 05 dc 2d e7 20 62  | ll% = -1...-. b|
00000d50  6c 6f 63 6b 25 21 31 36  3e 30 20 80 20 62 6c 6f  |lock%!16>0 . blo|
00000d60  63 6b 25 21 31 36 3c 6e  75 6d 6c 69 6e 65 73 25  |ck%!16<numlines%|
00000d70  2a 32 2b 31 20 8c 0d 05  e6 1d 20 20 20 6c 6c 25  |*2+1 .....   ll%|
00000d80  20 3d 20 a8 28 62 6c 6f  63 6b 25 21 31 36 2f 32  | = .(block%!16/2|
00000d90  29 2d 31 0d 05 f0 05 cd  0d 05 fa 13 f2 63 72 65  |)-1..........cre|
00000da0  61 74 65 6c 69 73 74 6d  65 6e 75 0d 06 04 34 c8  |atelistmenu...4.|
00000db0  99 20 22 57 69 6d 70 5f  43 72 65 61 74 65 4d 65  |. "Wimp_CreateMe|
00000dc0  6e 75 22 2c 2c 6d 65 6e  75 25 2b 34 2c 20 21 62  |nu",,menu%+4, !b|
00000dd0  6c 6f 63 6b 25 2c 20 62  6c 6f 63 6b 25 21 34 0d  |lock%, block%!4.|
00000de0  06 0e 05 e1 0d 06 18 04  0d 06 22 14 dd f2 63 72  |.........."...cr|
00000df0  65 61 74 65 6c 69 73 74  6d 65 6e 75 0d 06 2c 20  |eatelistmenu.., |
00000e00  21 6d 65 6e 75 25 20 20  20 3d 20 31 20 20 3a 20  |!menu%   = 1  : |
00000e10  6d 65 6e 75 25 3f 31 36  20 3d 20 37 0d 06 36 20  |menu%?16 = 7..6 |
00000e20  6d 65 6e 75 25 3f 31 37  20 3d 20 32 20 20 3a 20  |menu%?17 = 2  : |
00000e30  6d 65 6e 75 25 3f 31 38  20 3d 20 37 0d 06 40 22  |menu%?18 = 7..@"|
00000e40  6d 65 6e 75 25 3f 31 39  20 3d 20 30 20 20 3a 20  |menu%?19 = 0  : |
00000e50  6d 65 6e 75 25 21 32 30  20 3d 20 33 30 30 0d 06  |menu%!20 = 300..|
00000e60  4a 20 6d 65 6e 75 25 21  32 34 20 3d 20 34 30 20  |J menu%!24 = 40 |
00000e70  3a 20 6d 65 6e 75 25 21  32 38 20 3d 20 30 0d 06  |: menu%!28 = 0..|
00000e80  54 29 70 74 72 25 3d 6d  65 6e 75 25 2b 33 32 20  |T)ptr%=menu%+32 |
00000e90  3a 20 24 28 6d 65 6e 75  25 2b 34 29 3d 22 4c 69  |: $(menu%+4)="Li|
00000ea0  73 74 4d 65 6e 75 22 0d  06 5e 36 21 70 74 72 25  |stMenu"..^6!ptr%|
00000eb0  20 3d 20 30 20 3a 20 70  74 72 25 21 34 20 3d 20  | = 0 : ptr%!4 = |
00000ec0  4e 65 77 69 74 65 6d 25  20 3a 20 70 74 72 25 21  |Newitem% : ptr%!|
00000ed0  38 20 3d 20 26 30 37 30  30 30 30 32 31 0d 06 68  |8 = &07000021..h|
00000ee0  1f 24 28 70 74 72 25 2b  31 32 29 20 3d 20 22 41  |.$(ptr%+12) = "A|
00000ef0  64 64 20 4e 65 77 20 49  74 65 6d 22 0d 06 72 14  |dd New Item"..r.|
00000f00  70 74 72 25 20 3d 20 70  74 72 25 20 2b 20 32 34  |ptr% = ptr% + 24|
00000f10  0d 06 7c 37 21 70 74 72  25 20 3d 20 26 38 30 20  |..|7!ptr% = &80 |
00000f20  3a 20 70 74 72 25 21 34  20 3d 20 43 68 61 6e 67  |: ptr%!4 = Chang|
00000f30  65 25 20 3a 20 70 74 72  25 21 38 20 3d 20 26 30  |e% : ptr%!8 = &0|
00000f40  37 30 30 30 31 30 31 0d  06 86 10 e7 20 6c 6c 25  |7000101..... ll%|
00000f50  20 3d 20 2d 31 20 8c 0d  06 90 45 20 20 20 70 74  | = -1 ....E   pt|
00000f60  72 25 21 34 20 3d 20 2d  31 20 3a 20 70 74 72 25  |r%!4 = -1 : ptr%|
00000f70  21 38 20 3d 20 26 30 37  30 30 30 30 32 31 20 3a  |!8 = &07000021 :|
00000f80  20 24 28 70 74 72 25 2b  31 32 29 20 3d 20 22 20  | $(ptr%+12) = " |
00000f90  20 20 20 20 20 20 20 20  20 20 20 22 0d 06 9a 05  |           "....|
00000fa0  cc 0d 06 a4 19 20 20 20  70 74 72 25 21 38 20 3d  |.....   ptr%!8 =|
00000fb0  20 26 30 37 30 30 30 31  30 31 0d 06 ae 40 20 20  | &07000101...@  |
00000fc0  20 70 74 72 25 21 31 32  20 3d 20 28 6c 69 6e 65  | ptr%!12 = (line|
00000fd0  73 25 2b 28 32 30 2a 6c  6c 25 29 29 20 3a 20 70  |s%+(20*ll%)) : p|
00000fe0  74 72 25 21 31 36 20 3d  20 2d 31 20 3a 20 70 74  |tr%!16 = -1 : pt|
00000ff0  72 25 21 32 30 20 3d 20  31 32 0d 06 b8 05 cd 0d  |r%!20 = 12......|
00001000  06 c2 05 e1 0d 06 cc 04  0d 06 d6 18 dd f2 6b 65  |..............ke|
00001010  79 70 72 65 73 73 65 64  28 62 6c 6f 63 6b 25 29  |ypressed(block%)|
00001020  0d 06 e0 27 e7 20 21 62  6c 6f 63 6b 25 3d 4e 65  |...'. !block%=Ne|
00001030  77 69 74 65 6d 25 20 80  20 62 6c 6f 63 6b 25 21  |witem% . block%!|
00001040  32 34 3d 31 33 20 8c 0d  06 ea 1b 20 20 20 f2 69  |24=13 .....   .i|
00001050  74 65 6d 65 6e 74 65 72  65 64 28 62 6c 6f 63 6b  |tementered(block|
00001060  25 29 0d 06 f4 05 cd 0d  06 fe 05 e1 0d 07 08 04  |%)..............|
00001070  0d 07 12 19 dd f2 69 74  65 6d 65 6e 74 65 72 65  |......itementere|
00001080  64 28 62 6c 6f 63 6b 25  29 0d 07 1c 22 c8 99 20  |d(block%)...".. |
00001090  22 57 69 6d 70 5f 47 65  74 49 63 6f 6e 53 74 61  |"Wimp_GetIconSta|
000010a0  74 65 22 2c 2c 62 6c 6f  63 6b 25 0d 07 26 17 6e  |te",,block%..&.n|
000010b0  65 77 24 20 3d 20 24 28  62 6c 6f 63 6b 25 21 32  |ew$ = $(block%!2|
000010c0  38 29 0d 07 30 15 e3 6e  3d 31 20 b8 20 32 30 2d  |8)..0..n=1 . 20-|
000010d0  a9 28 6e 65 77 24 29 0d  07 3a 18 20 20 20 6e 65  |.(new$)..:.   ne|
000010e0  77 24 20 3d 20 6e 65 77  24 20 2b 20 22 20 22 0d  |w$ = new$ + " ".|
000010f0  07 44 06 ed 6e 0d 07 4e  18 de 20 6e 6c 69 6e 65  |.D..n..N.. nline|
00001100  73 25 20 6c 65 6e 67 74  68 25 2b 32 30 0d 07 58  |s% length%+20..X|
00001110  14 e3 6e 3d 30 20 b8 20  6c 65 6e 67 74 68 25 2d  |..n=0 . length%-|
00001120  31 0d 07 62 1b 20 20 20  6e 6c 69 6e 65 73 25 3f  |1..b.   nlines%?|
00001130  6e 20 3d 20 6c 69 6e 65  73 25 3f 6e 0d 07 6c 06  |n = lines%?n..l.|
00001140  ed 6e 0d 07 76 33 24 28  6e 6c 69 6e 65 73 25 2b  |.n..v3$(nlines%+|
00001150  6c 65 6e 67 74 68 25 29  20 3d 20 6e 65 77 24 20  |length%) = new$ |
00001160  3a 20 de 20 6c 69 6e 65  73 25 20 6c 65 6e 67 74  |: . lines% lengt|
00001170  68 25 2b 32 30 0d 07 80  15 e3 6e 3d 30 20 b8 20  |h%+20.....n=0 . |
00001180  6c 65 6e 67 74 68 25 2b  31 39 0d 07 8a 1b 20 20  |length%+19....  |
00001190  20 6c 69 6e 65 73 25 3f  6e 20 3d 20 6e 6c 69 6e  | lines%?n = nlin|
000011a0  65 73 25 3f 6e 0d 07 94  06 ed 6e 0d 07 9e 44 6e  |es%?n.....n...Dn|
000011b0  75 6d 6c 69 6e 65 73 25  20 3d 20 6e 75 6d 6c 69  |umlines% = numli|
000011c0  6e 65 73 25 2b 31 20 3a  20 6c 65 6e 67 74 68 25  |nes%+1 : length%|
000011d0  20 3d 20 6c 65 6e 67 74  68 25 2b 32 30 20 3a 20  | = length%+20 : |
000011e0  21 62 6c 6f 63 6b 25 20  3d 20 4c 69 73 74 25 0d  |!block% = List%.|
000011f0  07 a8 22 c8 99 20 22 57  69 6d 70 5f 44 65 6c 65  |..".. "Wimp_Dele|
00001200  74 65 57 69 6e 64 6f 77  22 2c 2c 62 6c 6f 63 6b  |teWindow",,block|
00001210  25 0d 07 b2 1c c8 99 20  22 57 69 6d 70 5f 43 72  |%...... "Wimp_Cr|
00001220  65 61 74 65 4d 65 6e 75  22 2c 2c 2d 31 0d 07 bc  |eateMenu",,-1...|
00001230  15 4c 69 73 74 25 20 3d  20 a4 6d 61 6b 65 6c 69  |.List% = .makeli|
00001240  73 74 0d 07 c6 48 c8 99  20 22 4f 53 5f 46 69 6c  |st...H.. "OS_Fil|
00001250  65 22 2c 26 30 41 2c 22  3c 52 65 6d 69 6e 64 65  |e",&0A,"<Reminde|
00001260  72 73 24 50 61 74 68 3e  2e 4c 69 73 74 22 2c 26  |rs$Path>.List",&|
00001270  46 46 44 2c 2c 6c 69 6e  65 73 25 2c 6c 69 6e 65  |FFD,,lines%,line|
00001280  73 25 2b 6c 65 6e 67 74  68 25 0d 07 d0 05 e1 0d  |s%+length%......|
00001290  07 da 04 0d 07 e4 0c dd  f2 64 65 6c 65 74 65 0d  |.........delete.|
000012a0  07 ee 18 de 20 6e 6c 69  6e 65 73 25 20 6c 65 6e  |.... nlines% len|
000012b0  67 74 68 25 2d 32 30 0d  07 f8 15 e3 6e 3d 30 20  |gth%-20.....n=0 |
000012c0  b8 20 28 6c 6c 25 2a 32  30 29 2d 31 0d 08 02 1b  |. (ll%*20)-1....|
000012d0  20 20 20 6e 6c 69 6e 65  73 25 3f 6e 20 3d 20 6c  |   nlines%?n = l|
000012e0  69 6e 65 73 25 3f 6e 0d  08 0c 06 ed 6e 0d 08 16  |ines%?n.....n...|
000012f0  2d e3 6e 3d 6c 69 6e 65  73 25 2b 28 28 6c 6c 25  |-.n=lines%+((ll%|
00001300  2b 31 29 2a 32 30 29 20  b8 20 6c 69 6e 65 73 25  |+1)*20) . lines%|
00001310  2b 6c 65 6e 67 74 68 25  2d 31 0d 08 20 32 20 20  |+length%-1.. 2  |
00001320  20 6e 6c 69 6e 65 73 25  3f 28 28 6e 2d 6c 69 6e  | nlines%?((n-lin|
00001330  65 73 25 29 2d 32 30 29  20 3d 20 6c 69 6e 65 73  |es%)-20) = lines|
00001340  25 3f 28 6e 2d 6c 69 6e  65 73 25 29 0d 08 2a 06  |%?(n-lines%)..*.|
00001350  ed 6e 0d 08 34 44 6c 65  6e 67 74 68 25 20 3d 20  |.n..4Dlength% = |
00001360  6c 65 6e 67 74 68 25 2d  32 30 20 3a 20 6e 75 6d  |length%-20 : num|
00001370  6c 69 6e 65 73 25 20 3d  20 6e 75 6d 6c 69 6e 65  |lines% = numline|
00001380  73 25 2d 31 20 3a de 20  6c 69 6e 65 73 25 20 6c  |s%-1 :. lines% l|
00001390  65 6e 67 74 68 25 0d 08  3e 14 e3 6e 3d 30 20 b8  |ength%..>..n=0 .|
000013a0  20 6c 65 6e 67 74 68 25  2d 31 0d 08 48 1b 20 20  | length%-1..H.  |
000013b0  20 6c 69 6e 65 73 25 3f  6e 20 3d 20 6e 6c 69 6e  | lines%?n = nlin|
000013c0  65 73 25 3f 6e 0d 08 52  06 ed 6e 0d 08 5c 13 21  |es%?n..R..n..\.!|
000013d0  62 6c 6f 63 6b 25 20 3d  20 4c 69 73 74 25 0d 08  |block% = List%..|
000013e0  66 22 c8 99 20 22 57 69  6d 70 5f 44 65 6c 65 74  |f".. "Wimp_Delet|
000013f0  65 57 69 6e 64 6f 77 22  2c 2c 62 6c 6f 63 6b 25  |eWindow",,block%|
00001400  0d 08 70 1c c8 99 20 22  57 69 6d 70 5f 43 72 65  |..p... "Wimp_Cre|
00001410  61 74 65 4d 65 6e 75 22  2c 2c 2d 31 0d 08 7a 15  |ateMenu",,-1..z.|
00001420  4c 69 73 74 25 20 3d 20  a4 6d 61 6b 65 6c 69 73  |List% = .makelis|
00001430  74 0d 08 84 48 c8 99 20  22 4f 53 5f 46 69 6c 65  |t...H.. "OS_File|
00001440  22 2c 26 30 41 2c 22 3c  52 65 6d 69 6e 64 65 72  |",&0A,"<Reminder|
00001450  73 24 50 61 74 68 3e 2e  4c 69 73 74 22 2c 26 46  |s$Path>.List",&F|
00001460  46 44 2c 2c 6c 69 6e 65  73 25 2c 6c 69 6e 65 73  |FD,,lines%,lines|
00001470  25 2b 6c 65 6e 67 74 68  25 0d 08 8e 05 e1 0d 08  |%+length%.......|
00001480  98 04 0d 08 a2 0e dd f2  70 72 69 6f 72 69 74 79  |........priority|
00001490  0d 08 ac 0f e7 20 6c 6c  25 3d 30 20 8c 20 e1 0d  |..... ll%=0 . ..|
000014a0  08 b6 15 de 20 6e 6c 69  6e 65 73 25 20 6c 65 6e  |.... nlines% len|
000014b0  67 74 68 25 0d 08 c0 0d  e3 6e 3d 30 20 b8 20 31  |gth%.....n=0 . 1|
000014c0  39 0d 08 ca 24 20 20 20  6e 6c 69 6e 65 73 25 3f  |9...$   nlines%?|
000014d0  6e 20 3d 20 6c 69 6e 65  73 25 3f 28 6c 6c 25 2a  |n = lines%?(ll%*|
000014e0  32 30 2b 6e 29 0d 08 d4  06 ed 6e 0d 08 de 13 e3  |20+n).....n.....|
000014f0  6e 3d 30 20 b8 20 32 30  2a 6c 6c 25 2d 31 0d 08  |n=0 . 20*ll%-1..|
00001500  e8 20 20 20 20 6e 6c 69  6e 65 73 25 3f 28 6e 2b  |.    nlines%?(n+|
00001510  32 30 29 20 3d 20 6c 69  6e 65 73 25 3f 6e 0d 08  |20) = lines%?n..|
00001520  f2 06 ed 6e 0d 08 fc 16  e3 6e 3d 30 20 b8 28 6c  |...n.....n=0 .(l|
00001530  6c 25 2b 31 29 2a 32 30  2d 31 0d 09 06 1b 20 20  |l%+1)*20-1....  |
00001540  20 6c 69 6e 65 73 25 3f  6e 20 3d 20 6e 6c 69 6e  | lines%?n = nlin|
00001550  65 73 25 3f 6e 0d 09 10  06 ed 6e 0d 09 1a 13 21  |es%?n.....n....!|
00001560  62 6c 6f 63 6b 25 20 3d  20 4c 69 73 74 25 0d 09  |block% = List%..|
00001570  24 22 c8 99 20 22 57 69  6d 70 5f 44 65 6c 65 74  |$".. "Wimp_Delet|
00001580  65 57 69 6e 64 6f 77 22  2c 2c 62 6c 6f 63 6b 25  |eWindow",,block%|
00001590  0d 09 2e 1c c8 99 20 22  57 69 6d 70 5f 43 72 65  |...... "Wimp_Cre|
000015a0  61 74 65 4d 65 6e 75 22  2c 2c 2d 31 0d 09 38 15  |ateMenu",,-1..8.|
000015b0  4c 69 73 74 25 20 3d 20  a4 6d 61 6b 65 6c 69 73  |List% = .makelis|
000015c0  74 0d 09 42 48 c8 99 20  22 4f 53 5f 46 69 6c 65  |t..BH.. "OS_File|
000015d0  22 2c 26 30 41 2c 22 3c  52 65 6d 69 6e 64 65 72  |",&0A,"<Reminder|
000015e0  73 24 50 61 74 68 3e 2e  4c 69 73 74 22 2c 26 46  |s$Path>.List",&F|
000015f0  46 44 2c 2c 6c 69 6e 65  73 25 2c 6c 69 6e 65 73  |FD,,lines%,lines|
00001600  25 2b 6c 65 6e 67 74 68  25 0d 09 4c 05 e1 0d 09  |%+length%..L....|
00001610  56 04 0d 09 60 11 dd a4  74 6d 70 6c 6f 61 64 28  |V...`...tmpload(|
00001620  61 24 29 0d 09 6a 4e c8  99 20 22 57 69 6d 70 5f  |a$)..jN.. "Wimp_|
00001630  4c 6f 61 64 54 65 6d 70  6c 61 74 65 22 2c 2c 62  |LoadTemplate",,b|
00001640  6c 6f 63 6b 25 2c 77 6b  73 70 61 63 65 25 2c 77  |lock%,wkspace%,w|
00001650  6b 73 70 61 63 65 25 2b  31 39 39 39 2c 2d 31 2c  |kspace%+1999,-1,|
00001660  61 24 2c 30 20 b8 20 2c  2c 77 6b 73 70 61 63 65  |a$,0 . ,,wkspace|
00001670  25 0d 09 74 41 e7 20 61  24 3d 22 49 6e 66 6f 22  |%..tA. a$="Info"|
00001680  20 8c 20 62 6c 6f 63 6b  25 21 36 34 20 3d 20 69  | . block%!64 = i|
00001690  62 61 72 73 70 72 69 74  65 73 25 20 8b 20 62 6c  |barsprites% . bl|
000016a0  6f 63 6b 25 21 36 34 20  3d 20 73 70 72 69 74 65  |ock%!64 = sprite|
000016b0  73 25 0d 09 7e 2c c8 99  20 22 57 69 6d 70 5f 43  |s%..~,.. "Wimp_C|
000016c0  72 65 61 74 65 57 69 6e  64 6f 77 22 2c 2c 62 6c  |reateWindow",,bl|
000016d0  6f 63 6b 25 20 b8 20 68  61 6e 64 6c 65 25 0d 09  |ock% . handle%..|
000016e0  88 0c 3d 68 61 6e 64 6c  65 25 0d 09 92 04 0d 09  |..=handle%......|
000016f0  9c 0e dd a4 6d 61 6b 65  6c 69 73 74 0d 09 a6 14  |....makelist....|
00001700  21 62 6c 6f 63 6b 25 20  3d 20 42 6c 61 6e 6b 25  |!block% = Blank%|
00001710  0d 09 b0 23 c8 99 20 22  57 69 6d 70 5f 47 65 74  |...#.. "Wimp_Get|
00001720  57 69 6e 64 6f 77 49 6e  66 6f 22 2c 2c 62 6c 6f  |WindowInfo",,blo|
00001730  63 6b 25 0d 09 ba 4d 6c  69 73 74 6c 65 6e 67 74  |ck%...Mlistlengt|
00001740  68 25 20 3d 20 37 32 2b  28 28 6e 75 6d 6c 69 6e  |h% = 72+((numlin|
00001750  65 73 25 2b 31 29 2a 34  38 29 20 3a 20 69 63 6f  |es%+1)*48) : ico|
00001760  6e 73 25 20 3d 20 28 6e  75 6d 6c 69 6e 65 73 25  |ns% = (numlines%|
00001770  2a 32 29 2b 32 20 3a 69  63 6f 6e 25 20 3d 20 31  |*2)+2 :icon% = 1|
00001780  0d 09 c4 4b 62 6c 6f 63  6b 25 21 38 20 3d 20 2d  |...Kblock%!8 = -|
00001790  6c 69 73 74 6c 65 6e 67  74 68 25 20 3a 20 62 6c  |listlength% : bl|
000017a0  6f 63 6b 25 21 34 38 20  3d 20 2d 6c 69 73 74 6c  |ock%!48 = -listl|
000017b0  65 6e 67 74 68 25 20 3a  20 62 6c 6f 63 6b 25 21  |ength% : block%!|
000017c0  38 38 20 3d 20 69 63 6f  6e 73 25 0d 09 ce 14 e7  |88 = icons%.....|
000017d0  20 6e 75 6d 6c 69 6e 65  73 25 3c 3e 30 20 8c 0d  | numlines%<>0 ..|
000017e0  09 d8 17 20 20 20 e3 6e  3d 31 20 b8 20 6e 75 6d  |...   .n=1 . num|
000017f0  6c 69 6e 65 73 25 0d 09  e2 33 20 20 20 20 20 20  |lines%...3      |
00001800  70 6f 73 25 20 3d 20 39  32 2b 28 33 32 2a 69 63  |pos% = 92+(32*ic|
00001810  6f 6e 25 29 20 20 20 20  3a 20 69 63 6f 6e 25 20  |on%)    : icon% |
00001820  3d 20 69 63 6f 6e 25 2b  32 0d 09 ec 42 20 20 20  |= icon%+2...B   |
00001830  20 20 20 62 6c 6f 63 6b  25 21 28 70 6f 73 25 29  |   block%!(pos%)|
00001840  20 3d 20 31 36 20 20 20  20 20 20 3a 20 62 6c 6f  | = 16      : blo|
00001850  63 6b 25 21 28 70 6f 73  25 2b 34 29 20 3d 20 2d  |ck%!(pos%+4) = -|
00001860  28 37 32 2b 28 34 38 2a  6e 29 29 0d 09 f6 47 20  |(72+(48*n))...G |
00001870  20 20 20 20 20 62 6c 6f  63 6b 25 21 28 70 6f 73  |     block%!(pos|
00001880  25 2b 38 29 20 3d 20 33  34 34 20 20 20 3a 20 62  |%+8) = 344   : b|
00001890  6c 6f 63 6b 25 21 28 70  6f 73 25 2b 31 32 29 20  |lock%!(pos%+12) |
000018a0  3d 20 2d 28 37 32 2b 28  34 38 2a 28 6e 2d 31 29  |= -(72+(48*(n-1)|
000018b0  29 29 0d 0a 00 26 20 20  20 20 20 20 62 6c 6f 63  |))...&      bloc|
000018c0  6b 25 21 28 70 6f 73 25  2b 31 36 29 20 3d 20 26  |k%!(pos%+16) = &|
000018d0  32 37 30 30 30 31 30 31  0d 0a 0a 30 20 20 20 20  |27000101...0    |
000018e0  20 20 62 6c 6f 63 6b 25  21 28 70 6f 73 25 2b 32  |  block%!(pos%+2|
000018f0  30 29 20 3d 20 28 6c 69  6e 65 73 25 2b 28 32 30  |0) = (lines%+(20|
00001900  2a 28 6e 2d 31 29 29 29  0d 0a 14 39 20 20 20 20  |*(n-1)))...9    |
00001910  20 20 62 6c 6f 63 6b 25  21 28 70 6f 73 25 2b 32  |  block%!(pos%+2|
00001920  34 29 20 3d 20 2d 31 20  20 20 3a 20 62 6c 6f 63  |4) = -1   : bloc|
00001930  6b 25 21 28 70 6f 73 25  2b 32 38 29 20 3d 20 32  |k%!(pos%+28) = 2|
00001940  30 0d 0a 1e 43 20 20 20  20 20 20 62 6c 6f 63 6b  |0...C      block|
00001950  25 21 28 70 6f 73 25 2b  33 32 29 20 3d 20 32 20  |%!(pos%+32) = 2 |
00001960  20 20 20 3a 20 62 6c 6f  63 6b 25 21 28 70 6f 73  |   : block%!(pos|
00001970  25 2b 33 36 29 20 3d 20  2d 28 37 32 2b 28 34 38  |%+36) = -(72+(48|
00001980  2a 6e 29 29 0d 0a 28 47  20 20 20 20 20 20 62 6c  |*n))..(G      bl|
00001990  6f 63 6b 25 21 28 70 6f  73 25 2b 34 30 29 20 3d  |ock%!(pos%+40) =|
000019a0  20 33 38 34 20 20 3a 20  62 6c 6f 63 6b 25 21 28  | 384  : block%!(|
000019b0  70 6f 73 25 2b 34 34 29  20 3d 20 2d 28 37 32 2b  |pos%+44) = -(72+|
000019c0  28 34 38 2a 28 6e 2d 31  29 29 29 0d 0a 32 26 20  |(48*(n-1)))..2& |
000019d0  20 20 20 20 20 62 6c 6f  63 6b 25 21 28 70 6f 73  |     block%!(pos|
000019e0  25 2b 34 38 29 20 3d 20  26 32 37 30 30 30 30 30  |%+48) = &2700000|
000019f0  32 0d 0a 3c 24 20 20 20  20 20 20 24 28 62 6c 6f  |2..<$      $(blo|
00001a00  63 6b 25 2b 70 6f 73 25  2b 35 32 29 20 3d 20 22  |ck%+pos%+52) = "|
00001a10  73 69 64 65 22 0d 0a 46  09 20 20 20 ed 6e 0d 0a  |side"..F.   .n..|
00001a20  50 05 cd 0d 0a 5a 18 70  6f 73 25 20 3d 20 39 32  |P....Z.pos% = 92|
00001a30  2b 28 33 32 2a 69 63 6f  6e 25 29 0d 0a 64 4e 62  |+(32*icon%)..dNb|
00001a40  6c 6f 63 6b 25 21 28 70  6f 73 25 29 20 3d 20 32  |lock%!(pos%) = 2|
00001a50  20 20 20 20 20 20 20 20  20 20 20 20 20 3a 20 62  |             : b|
00001a60  6c 6f 63 6b 25 21 28 70  6f 73 25 2b 34 29 20 3d  |lock%!(pos%+4) =|
00001a70  20 2d 28 37 32 2b 28 34  38 2a 28 6e 75 6d 6c 69  | -(72+(48*(numli|
00001a80  6e 65 73 25 2b 31 29 29  29 0d 0a 6e 4b 62 6c 6f  |nes%+1)))..nKblo|
00001a90  63 6b 25 21 28 70 6f 73  25 2b 38 29 20 3d 20 33  |ck%!(pos%+8) = 3|
00001aa0  38 34 20 20 20 20 20 20  20 20 20 3a 20 62 6c 6f  |84         : blo|
00001ab0  63 6b 25 21 28 70 6f 73  25 2b 31 32 29 20 3d 20  |ck%!(pos%+12) = |
00001ac0  2d 28 37 32 2b 28 34 38  2a 6e 75 6d 6c 69 6e 65  |-(72+(48*numline|
00001ad0  73 25 29 29 0d 0a 78 20  62 6c 6f 63 6b 25 21 28  |s%))..x block%!(|
00001ae0  70 6f 73 25 2b 31 36 29  20 3d 20 26 32 37 30 30  |pos%+16) = &2700|
00001af0  30 30 30 32 0d 0a 82 20  24 28 62 6c 6f 63 6b 25  |0002... $(block%|
00001b00  2b 70 6f 73 25 2b 32 30  29 20 3d 20 22 62 6f 74  |+pos%+20) = "bot|
00001b10  74 6f 6d 22 0d 0a 8c 2e  c8 99 20 22 57 69 6d 70  |tom"...... "Wimp|
00001b20  5f 43 72 65 61 74 65 57  69 6e 64 6f 77 22 2c 2c  |_CreateWindow",,|
00001b30  62 6c 6f 63 6b 25 2b 34  20 b8 20 68 61 6e 64 6c  |block%+4 . handl|
00001b40  65 25 0d 0a 96 0c 3d 68  61 6e 64 6c 65 25 0d 0a  |e%....=handle%..|
00001b50  a0 04 0d 0a aa 0b dd f2  65 72 72 6f 72 0d 0a b4  |........error...|
00001b60  19 c8 99 20 22 57 69 6d  70 5f 44 72 61 67 42 6f  |... "Wimp_DragBo|
00001b70  78 22 2c 2c 2d 31 0d 0a  be 2d 21 62 6c 6f 63 6b  |x",,-1...-!block|
00001b80  25 3d 9f 3a 24 28 62 6c  6f 63 6b 25 2b 34 29 3d  |%=.:$(block%+4)=|
00001b90  f6 24 2b 22 20 61 74 20  6c 69 6e 65 20 22 2b c3  |.$+" at line "+.|
00001ba0  28 9e 29 0d 0a c8 44 c8  99 20 22 57 69 6d 70 5f  |(.)...D.. "Wimp_|
00001bb0  52 65 70 6f 72 74 45 72  72 6f 72 22 2c 62 6c 6f  |ReportError",blo|
00001bc0  63 6b 25 2c 37 2b 94 28  31 36 2a 28 9f 3d 39 39  |ck%,7+.(16*(.=99|
00001bd0  29 29 2c 22 52 65 6d 69  6e 64 65 72 22 20 b8 20  |)),"Reminder" . |
00001be0  63 68 6f 69 63 65 25 0d  0a d2 17 c8 99 20 22 57  |choice%...... "W|
00001bf0  69 6d 70 5f 43 6c 6f 73  65 44 6f 77 6e 22 0d 0a  |imp_CloseDown"..|
00001c00  dc 05 e0 0d 0a e6 04 0d  0a f0 17 f4 20 44 61 74  |............ Dat|
00001c10  61 20 66 6f 72 20 74 68  65 20 6d 65 6e 75 0d 0a  |a for the menu..|
00001c20  fa 0f dc 20 52 65 6d 69  6e 64 65 72 73 0d 0b 04  |... Reminders...|
00001c30  10 dc 20 49 6e 66 6f 2c  49 6e 66 6f 25 0d 0b 0e  |.. Info,Info%...|
00001c40  0d dc 20 51 75 69 74 2c  2d 31 0d ff              |.. Quit,-1..|
00001c4c