Home » Archimedes archive » Acorn User » Acorn User - Education disc (1993).adf » Training » !Training/!RunImage

!Training/!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 » Archimedes archive » Acorn User » Acorn User - Education disc (1993).adf » Training
Filename: !Training/!RunImage
Read OK:
File size: 0C08 bytes
Load address: 0000
Exec address: 0000
File contents
    0REM > !RunImage
   10REM Universal Application Help
   20REM (c) Alex Hopkins 1990,91
   30Version$="I 1.02 {April 1991}"
   40:
   50SYS "Wimp_Initialise",200,&4B534154,"Application Help" TO ,task
   60PROCsetup
   70ON ERROR PROCerror : Quit=TRUE
   80:
   90REPEAT
  100PROCpoll(FNpoll(0))
  110UNTIL Quit
  120SYS "Wimp_CloseDown"
  130END
  140:
  150DEF PROCsetup
  160DIM block &1000,template% &1000,Help$(20,10)
  170PROCloadTemplates : Quit=FALSE : N%=1
  180PROCread : PROCupdatePage : PROCopenWindow(Help%,FALSE)
  190SOUND ON : VOICES 1 : VOICE 1,"WaveSynth-Beep"
  200ENDPROC
  210:
  220DEF PROCloadTemplates
  230SYS "Wimp_OpenTemplate",,"<UniHelp$Dir>.Templates"
  240Help%=FNwindow("Help")
  250Info%=FNwindow("Info")
  260SYS "Wimp_CloseTemplate"
  270ENDPROC
  280:
  290DEF FNwindow(a$)
  300end%=template%+&1000
  310SYS "Wimp_LoadTemplate",,block,template%,end%,-1,a$,0 TO ,,template%,,,,c%
  320SYS "Wimp_CreateWindow",,block TO c%
  330=c%
  340:
  350DEF FNpoll(mask%)
  360block!0=mask%
  370SYS "Wimp_Poll",0,block TO a%
  380=a%
  390:
  400DEF PROCpoll(reason%)
  410CASE reason% OF
  420WHEN 1 : PROCredrawWindow
  430WHEN 2 : PROCopenWindow(block!0,TRUE)
  440WHEN 3 : PROCcloseWindow(block!0) : Quit=TRUE
  450WHEN 6 : PROCbuttonClick(block)
  460WHEN 17,18 : PROCmessage(block)
  470ENDCASE
  480ENDPROC
  490:
  500DEF PROCmessage(handle%)
  510CASE handle%!16 OF
  520WHEN 0      : Quit=TRUE
  530ENDCASE
  540ENDPROC
  550:
  560DEF PROCopenWindow(handle%,full%)
  570block!0=handle%
  580IF NOT full% THEN SYS "Wimp_GetWindowState",,block : block!28=-1
  590SYS "Wimp_OpenWindow",,block
  600ENDPROC
  610:
  620DEF PROCredrawWindow
  630SYS "Wimp_RedrawWindow",,block TO more%
  640WHILE more%
  650SYS "Wimp_BorderWindow",,block
  660SYS "Wimp_GetRectangle",,block TO more%
  670ENDWHILE
  680ENDPROC
  690:
  700DEF PROCcloseWindow(handle%)
  710block!0=handle%
  720SYS "Wimp_CloseWindow",,block
  730ENDPROC
  740:
  750DEF PROCbuttonClick(block)
  760PROCcloseWindow(Info%)
  770button%=block!8 : handle%=block!12 : Icon%=block!16
  780IF button% AND 2 THEN PROCopenWindow(Info%,FALSE) : ENDPROC
  790IF Icon%<12 OR Icon%>13 THEN ENDPROC
  800IF Icon%=12 AND button%=1 THEN N%-=1
  810IF Icon%=12 AND button%=4 THEN N%+=1
  820IF Icon%=13 AND button%=1 THEN N%+=1
  830IF Icon%=13 AND button%=4 THEN N%-=1
  840PROCupdatePage
  850ENDPROC
  860:
  870DEF PROCupdatePage
  880IF N%<1 THEN N%=1 : VDU 7 : ENDPROC
  890IF N%>R% THEN N%=R% : VDU 7 : ENDPROC
  900FOR b%=1 TO 10 : PROCindirIcon(Help%,b%,Help$(N%,b%)) : NEXT
  910PROCindirIcon(Help%,11,"Page "+STR$(N%))
  920IF N%=R% THEN PROCindirIcon(Help%,11,"Last Page")
  930ENDPROC
  940:
  950DEF PROCgetIconInfo(handle%,icon%)
  960block!0=handle% : block!4=icon%
  970SYS "Wimp_GetIconState",,block
  980ix0%=block!8 : iy0%=block!12 : ix1%=block!16 : iy1%=block!20
  990flags%=block!24
 1000data$=$(block+28)
 1010ENDPROC
 1020:
 1030DEF PROCindirIcon(handle%,icon%,text$)
 1040PROCgetIconInfo(handle%,icon%) : $block!28=text$
 1050PROCsetIcon(handle%,icon%,0,0)
 1060ENDPROC
 1070:
 1080DEF PROCsetIcon(handle%,icon%,eor%,mask%)
 1090!block=handle% : block!4=icon%
 1100block!8=eor%   : block!12=mask%
 1110SYS "Wimp_SetIconState",,block
 1120ENDPROC
 1130:
 1140DEF PROCread
 1150SYS "Hourglass_On"
 1160chan%=OPENIN "<UniHelp$Dir>.HelpText"
 1170Title$=LEFT$(GET$#chan%,47)
 1180temp$=GET$#chan% : R%=VAL(temp$) : IF R%>20 THEN R%=20
 1190FOR b%=1 TO R% : FOR c%=1 TO 10
 1200Help$(b%,c%)=LEFT$(GET$#chan%,47) : NEXT : NEXT
 1210CLOSE#chan%
 1220PROCindirIcon(Help%,14,Title$) : SYS "Hourglass_Off"
 1230ENDPROC
 1240:
 1250DEF PROCerror
 1260SYS "Wimp_DragBox",,-1
 1270!block=ERR : $(block+4)="Help has suffered a fatal error and must exit immediately."+CHR$0
 1280SYS "Wimp_ReportError",block,1,"Application Help"
 1290ENDPROC
� > !RunImage

 � Universal Application Help
� (c) Alex Hopkins 1990,91
"Version$="I 1.02 {April 1991}"
(:
2Aș "Wimp_Initialise",200,&4B534154,"Application Help" � ,task
<
�setup
F� � �error : Quit=�
P:
Z�
d�poll(�poll(0))
n
� Quit
xș "Wimp_CloseDown"
��
�:
�� �setup
�.� block &1000,template% &1000,Help$(20,10)
�"�loadTemplates : Quit=� : N%=1
�.�read : �updatePage : �openWindow(Help%,�)
�&� � : Ƞ 1 : ȡ 1,"WaveSynth-Beep"
��
�:
�� �loadTemplates
�5ș "Wimp_OpenTemplate",,"<UniHelp$Dir>.Templates"
�Help%=�window("Help")
�Info%=�window("Info")
ș "Wimp_CloseTemplate"
�
:
"� �window(a$)
,end%=template%+&1000
6Lș "Wimp_LoadTemplate",,block,template%,end%,-1,a$,0 � ,,template%,,,,c%
@&ș "Wimp_CreateWindow",,block � c%
J=c%
T:
^� �poll(mask%)
hblock!0=mask%
rș "Wimp_Poll",0,block � a%
|=a%
�:
�� �poll(reason%)
�Ȏ reason% �
�� 1 : �redrawWindow
� � 2 : �openWindow(block!0,�)
�(� 3 : �closeWindow(block!0) : Quit=�
�� 6 : �buttonClick(block)
�� 17,18 : �message(block)
��
��
�:
�� �message(handle%)
�Ȏ handle%!16 �
� 0      : Quit=�
�
�
&:
0 � �openWindow(handle%,full%)
:block!0=handle%
D=� � full% � ș "Wimp_GetWindowState",,block : block!28=-1
Nș "Wimp_OpenWindow",,block
X�
b:
l� �redrawWindow
v)ș "Wimp_RedrawWindow",,block � more%
�ȕ more%
�!ș "Wimp_BorderWindow",,block
�)ș "Wimp_GetRectangle",,block � more%
��
��
�:
�� �closeWindow(handle%)
�block!0=handle%
� ș "Wimp_CloseWindow",,block
��
�:
�� �buttonClick(block)
��closeWindow(Info%)
7button%=block!8 : handle%=block!12 : Icon%=block!16
,� button% � 2 � �openWindow(Info%,�) : �
� Icon%<12 � Icon%>13 � �
 "� Icon%=12 � button%=1 � N%-=1
*"� Icon%=12 � button%=4 � N%+=1
4"� Icon%=13 � button%=1 � N%+=1
>"� Icon%=13 � button%=4 � N%-=1
H�updatePage
R�
\:
f� �updatePage
p� N%<1 � N%=1 : � 7 : �
z� N%>R% � N%=R% : � 7 : �
�7� b%=1 � 10 : �indirIcon(Help%,b%,Help$(N%,b%)) : �
�&�indirIcon(Help%,11,"Page "+�(N%))
�.� N%=R% � �indirIcon(Help%,11,"Last Page")
��
�:
�!� �getIconInfo(handle%,icon%)
�#block!0=handle% : block!4=icon%
�!ș "Wimp_GetIconState",,block
�@ix0%=block!8 : iy0%=block!12 : ix1%=block!16 : iy1%=block!20
�flags%=block!24
�data$=$(block+28)
��
�:
%� �indirIcon(handle%,icon%,text$)
1�getIconInfo(handle%,icon%) : $block!28=text$
�setIcon(handle%,icon%,0,0)
$�
.:
8(� �setIcon(handle%,icon%,eor%,mask%)
B"!block=handle% : block!4=icon%
L#block!8=eor%   : block!12=mask%
V!ș "Wimp_SetIconState",,block
`�
j:
t� �read
~ș "Hourglass_On"
�$chan%=� "<UniHelp$Dir>.HelpText"
�Title$=��#chan%,47)
�1temp$=�#chan% : R%=�(temp$) : � R%>20 � R%=20
�� b%=1 � R% : � c%=1 � 10
�%Help$(b%,c%)=��#chan%,47) : � : �
��#chan%
�4�indirIcon(Help%,14,Title$) : ș "Hourglass_Off"
��
�:
�� �error
�ș "Wimp_DragBox",,-1
�Y!block=� : $(block+4)="Help has suffered a fatal error and must exit immediately."+�0
4ș "Wimp_ReportError",block,1,"Application Help"

�
�
00000000  0d 00 00 11 f4 20 3e 20  21 52 75 6e 49 6d 61 67  |..... > !RunImag|
00000010  65 0d 00 0a 20 f4 20 55  6e 69 76 65 72 73 61 6c  |e... . Universal|
00000020  20 41 70 70 6c 69 63 61  74 69 6f 6e 20 48 65 6c  | Application Hel|
00000030  70 0d 00 14 1e f4 20 28  63 29 20 41 6c 65 78 20  |p..... (c) Alex |
00000040  48 6f 70 6b 69 6e 73 20  31 39 39 30 2c 39 31 0d  |Hopkins 1990,91.|
00000050  00 1e 22 56 65 72 73 69  6f 6e 24 3d 22 49 20 31  |.."Version$="I 1|
00000060  2e 30 32 20 7b 41 70 72  69 6c 20 31 39 39 31 7d  |.02 {April 1991}|
00000070  22 0d 00 28 05 3a 0d 00  32 41 c8 99 20 22 57 69  |"..(.:..2A.. "Wi|
00000080  6d 70 5f 49 6e 69 74 69  61 6c 69 73 65 22 2c 32  |mp_Initialise",2|
00000090  30 30 2c 26 34 42 35 33  34 31 35 34 2c 22 41 70  |00,&4B534154,"Ap|
000000a0  70 6c 69 63 61 74 69 6f  6e 20 48 65 6c 70 22 20  |plication Help" |
000000b0  b8 20 2c 74 61 73 6b 0d  00 3c 0a f2 73 65 74 75  |. ,task..<..setu|
000000c0  70 0d 00 46 17 ee 20 85  20 f2 65 72 72 6f 72 20  |p..F.. . .error |
000000d0  3a 20 51 75 69 74 3d b9  0d 00 50 05 3a 0d 00 5a  |: Quit=...P.:..Z|
000000e0  05 f5 0d 00 64 13 f2 70  6f 6c 6c 28 a4 70 6f 6c  |....d..poll(.pol|
000000f0  6c 28 30 29 29 0d 00 6e  0a fd 20 51 75 69 74 0d  |l(0))..n.. Quit.|
00000100  00 78 17 c8 99 20 22 57  69 6d 70 5f 43 6c 6f 73  |.x... "Wimp_Clos|
00000110  65 44 6f 77 6e 22 0d 00  82 05 e0 0d 00 8c 05 3a  |eDown".........:|
00000120  0d 00 96 0c dd 20 f2 73  65 74 75 70 0d 00 a0 2e  |..... .setup....|
00000130  de 20 62 6c 6f 63 6b 20  26 31 30 30 30 2c 74 65  |. block &1000,te|
00000140  6d 70 6c 61 74 65 25 20  26 31 30 30 30 2c 48 65  |mplate% &1000,He|
00000150  6c 70 24 28 32 30 2c 31  30 29 0d 00 aa 22 f2 6c  |lp$(20,10)...".l|
00000160  6f 61 64 54 65 6d 70 6c  61 74 65 73 20 3a 20 51  |oadTemplates : Q|
00000170  75 69 74 3d a3 20 3a 20  4e 25 3d 31 0d 00 b4 2e  |uit=. : N%=1....|
00000180  f2 72 65 61 64 20 3a 20  f2 75 70 64 61 74 65 50  |.read : .updateP|
00000190  61 67 65 20 3a 20 f2 6f  70 65 6e 57 69 6e 64 6f  |age : .openWindo|
000001a0  77 28 48 65 6c 70 25 2c  a3 29 0d 00 be 26 d4 20  |w(Help%,.)...&. |
000001b0  ee 20 3a 20 c8 a0 20 31  20 3a 20 c8 a1 20 31 2c  |. : .. 1 : .. 1,|
000001c0  22 57 61 76 65 53 79 6e  74 68 2d 42 65 65 70 22  |"WaveSynth-Beep"|
000001d0  0d 00 c8 05 e1 0d 00 d2  05 3a 0d 00 dc 14 dd 20  |.........:..... |
000001e0  f2 6c 6f 61 64 54 65 6d  70 6c 61 74 65 73 0d 00  |.loadTemplates..|
000001f0  e6 35 c8 99 20 22 57 69  6d 70 5f 4f 70 65 6e 54  |.5.. "Wimp_OpenT|
00000200  65 6d 70 6c 61 74 65 22  2c 2c 22 3c 55 6e 69 48  |emplate",,"<UniH|
00000210  65 6c 70 24 44 69 72 3e  2e 54 65 6d 70 6c 61 74  |elp$Dir>.Templat|
00000220  65 73 22 0d 00 f0 19 48  65 6c 70 25 3d a4 77 69  |es"....Help%=.wi|
00000230  6e 64 6f 77 28 22 48 65  6c 70 22 29 0d 00 fa 19  |ndow("Help")....|
00000240  49 6e 66 6f 25 3d a4 77  69 6e 64 6f 77 28 22 49  |Info%=.window("I|
00000250  6e 66 6f 22 29 0d 01 04  1b c8 99 20 22 57 69 6d  |nfo")...... "Wim|
00000260  70 5f 43 6c 6f 73 65 54  65 6d 70 6c 61 74 65 22  |p_CloseTemplate"|
00000270  0d 01 0e 05 e1 0d 01 18  05 3a 0d 01 22 11 dd 20  |.........:..".. |
00000280  a4 77 69 6e 64 6f 77 28  61 24 29 0d 01 2c 18 65  |.window(a$)..,.e|
00000290  6e 64 25 3d 74 65 6d 70  6c 61 74 65 25 2b 26 31  |nd%=template%+&1|
000002a0  30 30 30 0d 01 36 4c c8  99 20 22 57 69 6d 70 5f  |000..6L.. "Wimp_|
000002b0  4c 6f 61 64 54 65 6d 70  6c 61 74 65 22 2c 2c 62  |LoadTemplate",,b|
000002c0  6c 6f 63 6b 2c 74 65 6d  70 6c 61 74 65 25 2c 65  |lock,template%,e|
000002d0  6e 64 25 2c 2d 31 2c 61  24 2c 30 20 b8 20 2c 2c  |nd%,-1,a$,0 . ,,|
000002e0  74 65 6d 70 6c 61 74 65  25 2c 2c 2c 2c 63 25 0d  |template%,,,,c%.|
000002f0  01 40 26 c8 99 20 22 57  69 6d 70 5f 43 72 65 61  |.@&.. "Wimp_Crea|
00000300  74 65 57 69 6e 64 6f 77  22 2c 2c 62 6c 6f 63 6b  |teWindow",,block|
00000310  20 b8 20 63 25 0d 01 4a  07 3d 63 25 0d 01 54 05  | . c%..J.=c%..T.|
00000320  3a 0d 01 5e 12 dd 20 a4  70 6f 6c 6c 28 6d 61 73  |:..^.. .poll(mas|
00000330  6b 25 29 0d 01 68 11 62  6c 6f 63 6b 21 30 3d 6d  |k%)..h.block!0=m|
00000340  61 73 6b 25 0d 01 72 1f  c8 99 20 22 57 69 6d 70  |ask%..r... "Wimp|
00000350  5f 50 6f 6c 6c 22 2c 30  2c 62 6c 6f 63 6b 20 b8  |_Poll",0,block .|
00000360  20 61 25 0d 01 7c 07 3d  61 25 0d 01 86 05 3a 0d  | a%..|.=a%....:.|
00000370  01 90 14 dd 20 f2 70 6f  6c 6c 28 72 65 61 73 6f  |.... .poll(reaso|
00000380  6e 25 29 0d 01 9a 10 c8  8e 20 72 65 61 73 6f 6e  |n%)...... reason|
00000390  25 20 ca 0d 01 a4 17 c9  20 31 20 3a 20 f2 72 65  |% ...... 1 : .re|
000003a0  64 72 61 77 57 69 6e 64  6f 77 0d 01 ae 20 c9 20  |drawWindow... . |
000003b0  32 20 3a 20 f2 6f 70 65  6e 57 69 6e 64 6f 77 28  |2 : .openWindow(|
000003c0  62 6c 6f 63 6b 21 30 2c  b9 29 0d 01 b8 28 c9 20  |block!0,.)...(. |
000003d0  33 20 3a 20 f2 63 6c 6f  73 65 57 69 6e 64 6f 77  |3 : .closeWindow|
000003e0  28 62 6c 6f 63 6b 21 30  29 20 3a 20 51 75 69 74  |(block!0) : Quit|
000003f0  3d b9 0d 01 c2 1d c9 20  36 20 3a 20 f2 62 75 74  |=...... 6 : .but|
00000400  74 6f 6e 43 6c 69 63 6b  28 62 6c 6f 63 6b 29 0d  |tonClick(block).|
00000410  01 cc 1d c9 20 31 37 2c  31 38 20 3a 20 f2 6d 65  |.... 17,18 : .me|
00000420  73 73 61 67 65 28 62 6c  6f 63 6b 29 0d 01 d6 05  |ssage(block)....|
00000430  cb 0d 01 e0 05 e1 0d 01  ea 05 3a 0d 01 f4 17 dd  |..........:.....|
00000440  20 f2 6d 65 73 73 61 67  65 28 68 61 6e 64 6c 65  | .message(handle|
00000450  25 29 0d 01 fe 13 c8 8e  20 68 61 6e 64 6c 65 25  |%)...... handle%|
00000460  21 31 36 20 ca 0d 02 08  15 c9 20 30 20 20 20 20  |!16 ...... 0    |
00000470  20 20 3a 20 51 75 69 74  3d b9 0d 02 12 05 cb 0d  |  : Quit=.......|
00000480  02 1c 05 e1 0d 02 26 05  3a 0d 02 30 20 dd 20 f2  |......&.:..0 . .|
00000490  6f 70 65 6e 57 69 6e 64  6f 77 28 68 61 6e 64 6c  |openWindow(handl|
000004a0  65 25 2c 66 75 6c 6c 25  29 0d 02 3a 13 62 6c 6f  |e%,full%)..:.blo|
000004b0  63 6b 21 30 3d 68 61 6e  64 6c 65 25 0d 02 44 3d  |ck!0=handle%..D=|
000004c0  e7 20 ac 20 66 75 6c 6c  25 20 8c 20 c8 99 20 22  |. . full% . .. "|
000004d0  57 69 6d 70 5f 47 65 74  57 69 6e 64 6f 77 53 74  |Wimp_GetWindowSt|
000004e0  61 74 65 22 2c 2c 62 6c  6f 63 6b 20 3a 20 62 6c  |ate",,block : bl|
000004f0  6f 63 6b 21 32 38 3d 2d  31 0d 02 4e 1f c8 99 20  |ock!28=-1..N... |
00000500  22 57 69 6d 70 5f 4f 70  65 6e 57 69 6e 64 6f 77  |"Wimp_OpenWindow|
00000510  22 2c 2c 62 6c 6f 63 6b  0d 02 58 05 e1 0d 02 62  |",,block..X....b|
00000520  05 3a 0d 02 6c 13 dd 20  f2 72 65 64 72 61 77 57  |.:..l.. .redrawW|
00000530  69 6e 64 6f 77 0d 02 76  29 c8 99 20 22 57 69 6d  |indow..v).. "Wim|
00000540  70 5f 52 65 64 72 61 77  57 69 6e 64 6f 77 22 2c  |p_RedrawWindow",|
00000550  2c 62 6c 6f 63 6b 20 b8  20 6d 6f 72 65 25 0d 02  |,block . more%..|
00000560  80 0c c8 95 20 6d 6f 72  65 25 0d 02 8a 21 c8 99  |.... more%...!..|
00000570  20 22 57 69 6d 70 5f 42  6f 72 64 65 72 57 69 6e  | "Wimp_BorderWin|
00000580  64 6f 77 22 2c 2c 62 6c  6f 63 6b 0d 02 94 29 c8  |dow",,block...).|
00000590  99 20 22 57 69 6d 70 5f  47 65 74 52 65 63 74 61  |. "Wimp_GetRecta|
000005a0  6e 67 6c 65 22 2c 2c 62  6c 6f 63 6b 20 b8 20 6d  |ngle",,block . m|
000005b0  6f 72 65 25 0d 02 9e 05  ce 0d 02 a8 05 e1 0d 02  |ore%............|
000005c0  b2 05 3a 0d 02 bc 1b dd  20 f2 63 6c 6f 73 65 57  |..:..... .closeW|
000005d0  69 6e 64 6f 77 28 68 61  6e 64 6c 65 25 29 0d 02  |indow(handle%)..|
000005e0  c6 13 62 6c 6f 63 6b 21  30 3d 68 61 6e 64 6c 65  |..block!0=handle|
000005f0  25 0d 02 d0 20 c8 99 20  22 57 69 6d 70 5f 43 6c  |%... .. "Wimp_Cl|
00000600  6f 73 65 57 69 6e 64 6f  77 22 2c 2c 62 6c 6f 63  |oseWindow",,bloc|
00000610  6b 0d 02 da 05 e1 0d 02  e4 05 3a 0d 02 ee 19 dd  |k.........:.....|
00000620  20 f2 62 75 74 74 6f 6e  43 6c 69 63 6b 28 62 6c  | .buttonClick(bl|
00000630  6f 63 6b 29 0d 02 f8 17  f2 63 6c 6f 73 65 57 69  |ock).....closeWi|
00000640  6e 64 6f 77 28 49 6e 66  6f 25 29 0d 03 02 37 62  |ndow(Info%)...7b|
00000650  75 74 74 6f 6e 25 3d 62  6c 6f 63 6b 21 38 20 3a  |utton%=block!8 :|
00000660  20 68 61 6e 64 6c 65 25  3d 62 6c 6f 63 6b 21 31  | handle%=block!1|
00000670  32 20 3a 20 49 63 6f 6e  25 3d 62 6c 6f 63 6b 21  |2 : Icon%=block!|
00000680  31 36 0d 03 0c 2c e7 20  62 75 74 74 6f 6e 25 20  |16...,. button% |
00000690  80 20 32 20 8c 20 f2 6f  70 65 6e 57 69 6e 64 6f  |. 2 . .openWindo|
000006a0  77 28 49 6e 66 6f 25 2c  a3 29 20 3a 20 e1 0d 03  |w(Info%,.) : ...|
000006b0  16 1d e7 20 49 63 6f 6e  25 3c 31 32 20 84 20 49  |... Icon%<12 . I|
000006c0  63 6f 6e 25 3e 31 33 20  8c 20 e1 0d 03 20 22 e7  |con%>13 . ... ".|
000006d0  20 49 63 6f 6e 25 3d 31  32 20 80 20 62 75 74 74  | Icon%=12 . butt|
000006e0  6f 6e 25 3d 31 20 8c 20  4e 25 2d 3d 31 0d 03 2a  |on%=1 . N%-=1..*|
000006f0  22 e7 20 49 63 6f 6e 25  3d 31 32 20 80 20 62 75  |". Icon%=12 . bu|
00000700  74 74 6f 6e 25 3d 34 20  8c 20 4e 25 2b 3d 31 0d  |tton%=4 . N%+=1.|
00000710  03 34 22 e7 20 49 63 6f  6e 25 3d 31 33 20 80 20  |.4". Icon%=13 . |
00000720  62 75 74 74 6f 6e 25 3d  31 20 8c 20 4e 25 2b 3d  |button%=1 . N%+=|
00000730  31 0d 03 3e 22 e7 20 49  63 6f 6e 25 3d 31 33 20  |1..>". Icon%=13 |
00000740  80 20 62 75 74 74 6f 6e  25 3d 34 20 8c 20 4e 25  |. button%=4 . N%|
00000750  2d 3d 31 0d 03 48 0f f2  75 70 64 61 74 65 50 61  |-=1..H..updatePa|
00000760  67 65 0d 03 52 05 e1 0d  03 5c 05 3a 0d 03 66 11  |ge..R....\.:..f.|
00000770  dd 20 f2 75 70 64 61 74  65 50 61 67 65 0d 03 70  |. .updatePage..p|
00000780  1b e7 20 4e 25 3c 31 20  8c 20 4e 25 3d 31 20 3a  |.. N%<1 . N%=1 :|
00000790  20 ef 20 37 20 3a 20 e1  0d 03 7a 1d e7 20 4e 25  | . 7 : ...z.. N%|
000007a0  3e 52 25 20 8c 20 4e 25  3d 52 25 20 3a 20 ef 20  |>R% . N%=R% : . |
000007b0  37 20 3a 20 e1 0d 03 84  37 e3 20 62 25 3d 31 20  |7 : ....7. b%=1 |
000007c0  b8 20 31 30 20 3a 20 f2  69 6e 64 69 72 49 63 6f  |. 10 : .indirIco|
000007d0  6e 28 48 65 6c 70 25 2c  62 25 2c 48 65 6c 70 24  |n(Help%,b%,Help$|
000007e0  28 4e 25 2c 62 25 29 29  20 3a 20 ed 0d 03 8e 26  |(N%,b%)) : ....&|
000007f0  f2 69 6e 64 69 72 49 63  6f 6e 28 48 65 6c 70 25  |.indirIcon(Help%|
00000800  2c 31 31 2c 22 50 61 67  65 20 22 2b c3 28 4e 25  |,11,"Page "+.(N%|
00000810  29 29 0d 03 98 2e e7 20  4e 25 3d 52 25 20 8c 20  |))..... N%=R% . |
00000820  f2 69 6e 64 69 72 49 63  6f 6e 28 48 65 6c 70 25  |.indirIcon(Help%|
00000830  2c 31 31 2c 22 4c 61 73  74 20 50 61 67 65 22 29  |,11,"Last Page")|
00000840  0d 03 a2 05 e1 0d 03 ac  05 3a 0d 03 b6 21 dd 20  |.........:...!. |
00000850  f2 67 65 74 49 63 6f 6e  49 6e 66 6f 28 68 61 6e  |.getIconInfo(han|
00000860  64 6c 65 25 2c 69 63 6f  6e 25 29 0d 03 c0 23 62  |dle%,icon%)...#b|
00000870  6c 6f 63 6b 21 30 3d 68  61 6e 64 6c 65 25 20 3a  |lock!0=handle% :|
00000880  20 62 6c 6f 63 6b 21 34  3d 69 63 6f 6e 25 0d 03  | block!4=icon%..|
00000890  ca 21 c8 99 20 22 57 69  6d 70 5f 47 65 74 49 63  |.!.. "Wimp_GetIc|
000008a0  6f 6e 53 74 61 74 65 22  2c 2c 62 6c 6f 63 6b 0d  |onState",,block.|
000008b0  03 d4 40 69 78 30 25 3d  62 6c 6f 63 6b 21 38 20  |..@ix0%=block!8 |
000008c0  3a 20 69 79 30 25 3d 62  6c 6f 63 6b 21 31 32 20  |: iy0%=block!12 |
000008d0  3a 20 69 78 31 25 3d 62  6c 6f 63 6b 21 31 36 20  |: ix1%=block!16 |
000008e0  3a 20 69 79 31 25 3d 62  6c 6f 63 6b 21 32 30 0d  |: iy1%=block!20.|
000008f0  03 de 13 66 6c 61 67 73  25 3d 62 6c 6f 63 6b 21  |...flags%=block!|
00000900  32 34 0d 03 e8 15 64 61  74 61 24 3d 24 28 62 6c  |24....data$=$(bl|
00000910  6f 63 6b 2b 32 38 29 0d  03 f2 05 e1 0d 03 fc 05  |ock+28).........|
00000920  3a 0d 04 06 25 dd 20 f2  69 6e 64 69 72 49 63 6f  |:...%. .indirIco|
00000930  6e 28 68 61 6e 64 6c 65  25 2c 69 63 6f 6e 25 2c  |n(handle%,icon%,|
00000940  74 65 78 74 24 29 0d 04  10 31 f2 67 65 74 49 63  |text$)...1.getIc|
00000950  6f 6e 49 6e 66 6f 28 68  61 6e 64 6c 65 25 2c 69  |onInfo(handle%,i|
00000960  63 6f 6e 25 29 20 3a 20  24 62 6c 6f 63 6b 21 32  |con%) : $block!2|
00000970  38 3d 74 65 78 74 24 0d  04 1a 1f f2 73 65 74 49  |8=text$.....setI|
00000980  63 6f 6e 28 68 61 6e 64  6c 65 25 2c 69 63 6f 6e  |con(handle%,icon|
00000990  25 2c 30 2c 30 29 0d 04  24 05 e1 0d 04 2e 05 3a  |%,0,0)..$......:|
000009a0  0d 04 38 28 dd 20 f2 73  65 74 49 63 6f 6e 28 68  |..8(. .setIcon(h|
000009b0  61 6e 64 6c 65 25 2c 69  63 6f 6e 25 2c 65 6f 72  |andle%,icon%,eor|
000009c0  25 2c 6d 61 73 6b 25 29  0d 04 42 22 21 62 6c 6f  |%,mask%)..B"!blo|
000009d0  63 6b 3d 68 61 6e 64 6c  65 25 20 3a 20 62 6c 6f  |ck=handle% : blo|
000009e0  63 6b 21 34 3d 69 63 6f  6e 25 0d 04 4c 23 62 6c  |ck!4=icon%..L#bl|
000009f0  6f 63 6b 21 38 3d 65 6f  72 25 20 20 20 3a 20 62  |ock!8=eor%   : b|
00000a00  6c 6f 63 6b 21 31 32 3d  6d 61 73 6b 25 0d 04 56  |lock!12=mask%..V|
00000a10  21 c8 99 20 22 57 69 6d  70 5f 53 65 74 49 63 6f  |!.. "Wimp_SetIco|
00000a20  6e 53 74 61 74 65 22 2c  2c 62 6c 6f 63 6b 0d 04  |nState",,block..|
00000a30  60 05 e1 0d 04 6a 05 3a  0d 04 74 0b dd 20 f2 72  |`....j.:..t.. .r|
00000a40  65 61 64 0d 04 7e 15 c8  99 20 22 48 6f 75 72 67  |ead..~... "Hourg|
00000a50  6c 61 73 73 5f 4f 6e 22  0d 04 88 24 63 68 61 6e  |lass_On"...$chan|
00000a60  25 3d 8e 20 22 3c 55 6e  69 48 65 6c 70 24 44 69  |%=. "<UniHelp$Di|
00000a70  72 3e 2e 48 65 6c 70 54  65 78 74 22 0d 04 92 17  |r>.HelpText"....|
00000a80  54 69 74 6c 65 24 3d c0  be 23 63 68 61 6e 25 2c  |Title$=..#chan%,|
00000a90  34 37 29 0d 04 9c 31 74  65 6d 70 24 3d be 23 63  |47)...1temp$=.#c|
00000aa0  68 61 6e 25 20 3a 20 52  25 3d bb 28 74 65 6d 70  |han% : R%=.(temp|
00000ab0  24 29 20 3a 20 e7 20 52  25 3e 32 30 20 8c 20 52  |$) : . R%>20 . R|
00000ac0  25 3d 32 30 0d 04 a6 1d  e3 20 62 25 3d 31 20 b8  |%=20..... b%=1 .|
00000ad0  20 52 25 20 3a 20 e3 20  63 25 3d 31 20 b8 20 31  | R% : . c%=1 . 1|
00000ae0  30 0d 04 b0 25 48 65 6c  70 24 28 62 25 2c 63 25  |0...%Help$(b%,c%|
00000af0  29 3d c0 be 23 63 68 61  6e 25 2c 34 37 29 20 3a  |)=..#chan%,47) :|
00000b00  20 ed 20 3a 20 ed 0d 04  ba 0b d9 23 63 68 61 6e  | . : ......#chan|
00000b10  25 0d 04 c4 34 f2 69 6e  64 69 72 49 63 6f 6e 28  |%...4.indirIcon(|
00000b20  48 65 6c 70 25 2c 31 34  2c 54 69 74 6c 65 24 29  |Help%,14,Title$)|
00000b30  20 3a 20 c8 99 20 22 48  6f 75 72 67 6c 61 73 73  | : .. "Hourglass|
00000b40  5f 4f 66 66 22 0d 04 ce  05 e1 0d 04 d8 05 3a 0d  |_Off".........:.|
00000b50  04 e2 0c dd 20 f2 65 72  72 6f 72 0d 04 ec 19 c8  |.... .error.....|
00000b60  99 20 22 57 69 6d 70 5f  44 72 61 67 42 6f 78 22  |. "Wimp_DragBox"|
00000b70  2c 2c 2d 31 0d 04 f6 59  21 62 6c 6f 63 6b 3d 9f  |,,-1...Y!block=.|
00000b80  20 3a 20 24 28 62 6c 6f  63 6b 2b 34 29 3d 22 48  | : $(block+4)="H|
00000b90  65 6c 70 20 68 61 73 20  73 75 66 66 65 72 65 64  |elp has suffered|
00000ba0  20 61 20 66 61 74 61 6c  20 65 72 72 6f 72 20 61  | a fatal error a|
00000bb0  6e 64 20 6d 75 73 74 20  65 78 69 74 20 69 6d 6d  |nd must exit imm|
00000bc0  65 64 69 61 74 65 6c 79  2e 22 2b bd 30 0d 05 00  |ediately."+.0...|
00000bd0  34 c8 99 20 22 57 69 6d  70 5f 52 65 70 6f 72 74  |4.. "Wimp_Report|
00000be0  45 72 72 6f 72 22 2c 62  6c 6f 63 6b 2c 31 2c 22  |Error",block,1,"|
00000bf0  41 70 70 6c 69 63 61 74  69 6f 6e 20 48 65 6c 70  |Application Help|
00000c00  22 0d 05 0a 05 e1 0d ff                           |".......|
00000c08