Home » Archimedes archive » Micro User » MU 1991-04.adf » PD-Stuff » !Backup3/!Help/!RunImage

!Backup3/!Help/!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 » Micro User » MU 1991-04.adf » PD-Stuff
Filename: !Backup3/!Help/!RunImage
Read OK:
File size: 0B01 bytes
Load address: 0000
Exec address: 0000
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
    0REM > !RunImage
   10REM Universal Application Help
   20REM (c) Alex Hopkins for Anonymouse
   30REM Version 1.01 {March 1990}
   40:
   50SYS "Wimp_Initialise",200,&4B534154,"Application Help" TO ,task
   60ON ERROR PROCerror : END
   70PROCsetup
   80ON ERROR PROCerror : Quit=TRUE
   90:
  100REPEAT
  110PROCpoll(FNpoll(0))
  120UNTIL Quit
  121*Shut
  130SYS "Wimp_CloseDown"
  140END
  150:
  160DEF PROCsetup
  170DIM block &1000,template% &1000,Help$(12,10)
  180PROCloadTemplates : Quit=FALSE : N%=1
  190PROCread : PROCupdatePage : PROCopenWindow(Help%,FALSE)
  210ENDPROC
  220:
  230DEF PROCloadTemplates
  240SYS "Wimp_OpenTemplate",,"<UniHelp$Dir>.Templates"
  250Help%=FNwindow("help")
  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 2 : PROCopenWindow(block!0,TRUE)
  430WHEN 3 : PROCcloseWindow(block!0) : Quit=TRUE
  440WHEN 6 : PROCbuttonClick(block)
  450WHEN 17,18 : PROCmessage(block)
  460ENDCASE
  470ENDPROC
  480:
  490DEF PROCmessage(handle%)
  500IF handle%!16=0 THEN Quit=TRUE
  530ENDPROC
  540:
  550DEF PROCopenWindow(handle%,full%)
  560block!0=handle%
  570IF NOT full% THEN SYS "Wimp_GetWindowState",0,block : block!28=-1
  580SYS "Wimp_OpenWindow",0,block
  590ENDPROC
  600:
  610DEF PROCcloseWindow(handle%)
  620block!0=handle%
  630SYS "Wimp_CloseWindow",0,block
  640ENDPROC
  650:
  660DEF PROCbuttonClick(block)
  670button%=block!8 : handle%=block!12 : Icon%=block!16
  680IF handle%=Help% THEN PROChelpSelect(Icon%,button%)
  690ENDPROC
  700:
  710DEF PROChelpSelect(Icon%,button%)
  711IF Icon%<11 OR Icon%>12 THEN ENDPROC
  720IF Icon%=11 AND button%=1 THEN N%+=1
  730IF Icon%=11 AND button%=4 THEN N%-=1
  740IF Icon%=12 AND button%=1 THEN N%-=1
  750IF Icon%=12 AND button%=4 THEN N%+=1
  760PROCupdatePage
  770ENDPROC
  780:
  790DEF PROCupdatePage
  800IF N%<1 THEN N%=1 : VDU 7 : ENDPROC
  810IF N%>R% THEN N%=R% : VDU 7 : ENDPROC
  820FOR b%=1 TO 10 : PROCindirIcon(Help%,b%,Help$(N%,b%)) : NEXT
  830PROCindirIcon(Help%,13,"Page "+STR$(N%))
  840IF N%=R% THEN PROCindirIcon(Help%,13,"Last Page")
  850ENDPROC
  860:
  870DEF PROCgetIconInfo(handle%,icon%)
  880block!0=handle% : block!4=icon%
  890SYS "Wimp_GetIconState",,block
  900ix0%=block!8 : iy0%=block!12 : ix1%=block!16 : iy1%=block!20
  910flags%=block!24
  920data$=$(block+28)
  930ENDPROC
  940:
  950DEF PROCindirIcon(handle%,icon%,text$)
  960PROCgetIconInfo(handle%,icon%) : $block!28=text$
  970PROCsetIcon(handle%,icon%,0,0)
  980ENDPROC
  990:
 1000DEF PROCsetIcon(handle%,icon%,eor%,mask%)
 1010!block=handle% : block!4=icon%
 1020block!8=eor%   : block!12=mask%
 1030SYS "Wimp_SetIconState",,block
 1040ENDPROC
 1050:
 1060DEF PROCread
 1070chan%=OPENIN "<UniHelp$Dir>.HelpText"
 1080Title$=GET$#chan%
 1110R%=VAL(GET$#chan%)
 1111FOR b%=1 TO R% : FOR c%=1 TO 10
 1130  Help$(b%,c%)=GET$#chan%
 1131NEXT : NEXT
 1140CLOSE #chan%
 1150PROCindirIcon(Help%,0,Title$)
 1160ENDPROC
 1170:
 1180DEF PROCerror
 1190SYS "Wimp_DragBox",,-1
 1200!block=ERR : $(block+4)="Help has suffered a fatal error ("+REPORT$+" at line "+STR$(ERL)+") and must exit immediately."+CHR$0
 1210SYS "Wimp_ReportError",block,1,"Application Help"
 1220ENDPROC
� > !RunImage

 � Universal Application Help
%� (c) Alex Hopkins for Anonymouse
� Version 1.01 {March 1990}
(:
2Aș "Wimp_Initialise",200,&4B534154,"Application Help" � ,task
<� � �error : �
F
�setup
P� � �error : Quit=�
Z:
d�
n�poll(�poll(0))
x
� Quit
y	*Shut
�ș "Wimp_CloseDown"
��
�:
�� �setup
�.� block &1000,template% &1000,Help$(12,10)
�"�loadTemplates : Quit=� : N%=1
�.�read : �updatePage : �openWindow(Help%,�)
��
�:
�� �loadTemplates
�5ș "Wimp_OpenTemplate",,"<UniHelp$Dir>.Templates"
�Help%=�window("help")
ș "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% �
� � 2 : �openWindow(block!0,�)
�(� 3 : �closeWindow(block!0) : Quit=�
�� 6 : �buttonClick(block)
�� 17,18 : �message(block)
��
��
�:
�� �message(handle%)
�� handle%!16=0 � Quit=�
�
:
& � �openWindow(handle%,full%)
0block!0=handle%
:>� � full% � ș "Wimp_GetWindowState",0,block : block!28=-1
D ș "Wimp_OpenWindow",0,block
N�
X:
b� �closeWindow(handle%)
lblock!0=handle%
v!ș "Wimp_CloseWindow",0,block
��
�:
�� �buttonClick(block)
�7button%=block!8 : handle%=block!12 : Icon%=block!16
�0� handle%=Help% � �helpSelect(Icon%,button%)
��
�:
� � �helpSelect(Icon%,button%)
�� Icon%<11 � Icon%>12 � �
�"� Icon%=11 � button%=1 � N%+=1
�"� Icon%=11 � button%=4 � N%-=1
�"� Icon%=12 � button%=1 � N%-=1
�"� Icon%=12 � button%=4 � N%+=1
��updatePage
�
:
� �updatePage
 � N%<1 � N%=1 : � 7 : �
*� N%>R% � N%=R% : � 7 : �
47� b%=1 � 10 : �indirIcon(Help%,b%,Help$(N%,b%)) : �
>&�indirIcon(Help%,13,"Page "+�(N%))
H.� N%=R% � �indirIcon(Help%,13,"Last Page")
R�
\:
f!� �getIconInfo(handle%,icon%)
p#block!0=handle% : block!4=icon%
z!ș "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)
��
�:
�(� �setIcon(handle%,icon%,eor%,mask%)
�"!block=handle% : block!4=icon%
�#block!8=eor%   : block!12=mask%
!ș "Wimp_SetIconState",,block
�
:
$� �read
.$chan%=� "<UniHelp$Dir>.HelpText"
8Title$=�#chan%
VR%=�(�#chan%)
W� b%=1 � R% : � c%=1 � 10
j  Help$(b%,c%)=�#chan%
k	� : �
t� #chan%
~�indirIcon(Help%,0,Title$)
��
�:
�� �error
�ș "Wimp_DragBox",,-1
�s!block=� : $(block+4)="Help has suffered a fatal error ("+�$+" at line "+�(�)+") 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 25 f4 20 28  63 29 20 41 6c 65 78 20  |p...%. (c) Alex |
00000040  48 6f 70 6b 69 6e 73 20  66 6f 72 20 41 6e 6f 6e  |Hopkins for Anon|
00000050  79 6d 6f 75 73 65 0d 00  1e 1f f4 20 56 65 72 73  |ymouse..... Vers|
00000060  69 6f 6e 20 31 2e 30 31  20 7b 4d 61 72 63 68 20  |ion 1.01 {March |
00000070  31 39 39 30 7d 0d 00 28  05 3a 0d 00 32 41 c8 99  |1990}..(.:..2A..|
00000080  20 22 57 69 6d 70 5f 49  6e 69 74 69 61 6c 69 73  | "Wimp_Initialis|
00000090  65 22 2c 32 30 30 2c 26  34 42 35 33 34 31 35 34  |e",200,&4B534154|
000000a0  2c 22 41 70 70 6c 69 63  61 74 69 6f 6e 20 48 65  |,"Application He|
000000b0  6c 70 22 20 b8 20 2c 74  61 73 6b 0d 00 3c 12 ee  |lp" . ,task..<..|
000000c0  20 85 20 f2 65 72 72 6f  72 20 3a 20 e0 0d 00 46  | . .error : ...F|
000000d0  0a f2 73 65 74 75 70 0d  00 50 17 ee 20 85 20 f2  |..setup..P.. . .|
000000e0  65 72 72 6f 72 20 3a 20  51 75 69 74 3d b9 0d 00  |error : Quit=...|
000000f0  5a 05 3a 0d 00 64 05 f5  0d 00 6e 13 f2 70 6f 6c  |Z.:..d....n..pol|
00000100  6c 28 a4 70 6f 6c 6c 28  30 29 29 0d 00 78 0a fd  |l(.poll(0))..x..|
00000110  20 51 75 69 74 0d 00 79  09 2a 53 68 75 74 0d 00  | Quit..y.*Shut..|
00000120  82 17 c8 99 20 22 57 69  6d 70 5f 43 6c 6f 73 65  |.... "Wimp_Close|
00000130  44 6f 77 6e 22 0d 00 8c  05 e0 0d 00 96 05 3a 0d  |Down".........:.|
00000140  00 a0 0c dd 20 f2 73 65  74 75 70 0d 00 aa 2e de  |.... .setup.....|
00000150  20 62 6c 6f 63 6b 20 26  31 30 30 30 2c 74 65 6d  | block &1000,tem|
00000160  70 6c 61 74 65 25 20 26  31 30 30 30 2c 48 65 6c  |plate% &1000,Hel|
00000170  70 24 28 31 32 2c 31 30  29 0d 00 b4 22 f2 6c 6f  |p$(12,10)...".lo|
00000180  61 64 54 65 6d 70 6c 61  74 65 73 20 3a 20 51 75  |adTemplates : Qu|
00000190  69 74 3d a3 20 3a 20 4e  25 3d 31 0d 00 be 2e f2  |it=. : N%=1.....|
000001a0  72 65 61 64 20 3a 20 f2  75 70 64 61 74 65 50 61  |read : .updatePa|
000001b0  67 65 20 3a 20 f2 6f 70  65 6e 57 69 6e 64 6f 77  |ge : .openWindow|
000001c0  28 48 65 6c 70 25 2c a3  29 0d 00 d2 05 e1 0d 00  |(Help%,.).......|
000001d0  dc 05 3a 0d 00 e6 14 dd  20 f2 6c 6f 61 64 54 65  |..:..... .loadTe|
000001e0  6d 70 6c 61 74 65 73 0d  00 f0 35 c8 99 20 22 57  |mplates...5.. "W|
000001f0  69 6d 70 5f 4f 70 65 6e  54 65 6d 70 6c 61 74 65  |imp_OpenTemplate|
00000200  22 2c 2c 22 3c 55 6e 69  48 65 6c 70 24 44 69 72  |",,"<UniHelp$Dir|
00000210  3e 2e 54 65 6d 70 6c 61  74 65 73 22 0d 00 fa 19  |>.Templates"....|
00000220  48 65 6c 70 25 3d a4 77  69 6e 64 6f 77 28 22 68  |Help%=.window("h|
00000230  65 6c 70 22 29 0d 01 04  1b c8 99 20 22 57 69 6d  |elp")...... "Wim|
00000240  70 5f 43 6c 6f 73 65 54  65 6d 70 6c 61 74 65 22  |p_CloseTemplate"|
00000250  0d 01 0e 05 e1 0d 01 18  05 3a 0d 01 22 11 dd 20  |.........:..".. |
00000260  a4 77 69 6e 64 6f 77 28  61 24 29 0d 01 2c 18 65  |.window(a$)..,.e|
00000270  6e 64 25 3d 74 65 6d 70  6c 61 74 65 25 2b 26 31  |nd%=template%+&1|
00000280  30 30 30 0d 01 36 4c c8  99 20 22 57 69 6d 70 5f  |000..6L.. "Wimp_|
00000290  4c 6f 61 64 54 65 6d 70  6c 61 74 65 22 2c 2c 62  |LoadTemplate",,b|
000002a0  6c 6f 63 6b 2c 74 65 6d  70 6c 61 74 65 25 2c 65  |lock,template%,e|
000002b0  6e 64 25 2c 2d 31 2c 61  24 2c 30 20 b8 20 2c 2c  |nd%,-1,a$,0 . ,,|
000002c0  74 65 6d 70 6c 61 74 65  25 2c 2c 2c 2c 63 25 0d  |template%,,,,c%.|
000002d0  01 40 26 c8 99 20 22 57  69 6d 70 5f 43 72 65 61  |.@&.. "Wimp_Crea|
000002e0  74 65 57 69 6e 64 6f 77  22 2c 2c 62 6c 6f 63 6b  |teWindow",,block|
000002f0  20 b8 20 63 25 0d 01 4a  07 3d 63 25 0d 01 54 05  | . c%..J.=c%..T.|
00000300  3a 0d 01 5e 12 dd 20 a4  70 6f 6c 6c 28 6d 61 73  |:..^.. .poll(mas|
00000310  6b 25 29 0d 01 68 11 62  6c 6f 63 6b 21 30 3d 6d  |k%)..h.block!0=m|
00000320  61 73 6b 25 0d 01 72 1f  c8 99 20 22 57 69 6d 70  |ask%..r... "Wimp|
00000330  5f 50 6f 6c 6c 22 2c 30  2c 62 6c 6f 63 6b 20 b8  |_Poll",0,block .|
00000340  20 61 25 0d 01 7c 07 3d  61 25 0d 01 86 05 3a 0d  | a%..|.=a%....:.|
00000350  01 90 14 dd 20 f2 70 6f  6c 6c 28 72 65 61 73 6f  |.... .poll(reaso|
00000360  6e 25 29 0d 01 9a 10 c8  8e 20 72 65 61 73 6f 6e  |n%)...... reason|
00000370  25 20 ca 0d 01 a4 20 c9  20 32 20 3a 20 f2 6f 70  |% .... . 2 : .op|
00000380  65 6e 57 69 6e 64 6f 77  28 62 6c 6f 63 6b 21 30  |enWindow(block!0|
00000390  2c b9 29 0d 01 ae 28 c9  20 33 20 3a 20 f2 63 6c  |,.)...(. 3 : .cl|
000003a0  6f 73 65 57 69 6e 64 6f  77 28 62 6c 6f 63 6b 21  |oseWindow(block!|
000003b0  30 29 20 3a 20 51 75 69  74 3d b9 0d 01 b8 1d c9  |0) : Quit=......|
000003c0  20 36 20 3a 20 f2 62 75  74 74 6f 6e 43 6c 69 63  | 6 : .buttonClic|
000003d0  6b 28 62 6c 6f 63 6b 29  0d 01 c2 1d c9 20 31 37  |k(block)..... 17|
000003e0  2c 31 38 20 3a 20 f2 6d  65 73 73 61 67 65 28 62  |,18 : .message(b|
000003f0  6c 6f 63 6b 29 0d 01 cc  05 cb 0d 01 d6 05 e1 0d  |lock)...........|
00000400  01 e0 05 3a 0d 01 ea 17  dd 20 f2 6d 65 73 73 61  |...:..... .messa|
00000410  67 65 28 68 61 6e 64 6c  65 25 29 0d 01 f4 1b e7  |ge(handle%).....|
00000420  20 68 61 6e 64 6c 65 25  21 31 36 3d 30 20 8c 20  | handle%!16=0 . |
00000430  51 75 69 74 3d b9 0d 02  12 05 e1 0d 02 1c 05 3a  |Quit=..........:|
00000440  0d 02 26 20 dd 20 f2 6f  70 65 6e 57 69 6e 64 6f  |..& . .openWindo|
00000450  77 28 68 61 6e 64 6c 65  25 2c 66 75 6c 6c 25 29  |w(handle%,full%)|
00000460  0d 02 30 13 62 6c 6f 63  6b 21 30 3d 68 61 6e 64  |..0.block!0=hand|
00000470  6c 65 25 0d 02 3a 3e e7  20 ac 20 66 75 6c 6c 25  |le%..:>. . full%|
00000480  20 8c 20 c8 99 20 22 57  69 6d 70 5f 47 65 74 57  | . .. "Wimp_GetW|
00000490  69 6e 64 6f 77 53 74 61  74 65 22 2c 30 2c 62 6c  |indowState",0,bl|
000004a0  6f 63 6b 20 3a 20 62 6c  6f 63 6b 21 32 38 3d 2d  |ock : block!28=-|
000004b0  31 0d 02 44 20 c8 99 20  22 57 69 6d 70 5f 4f 70  |1..D .. "Wimp_Op|
000004c0  65 6e 57 69 6e 64 6f 77  22 2c 30 2c 62 6c 6f 63  |enWindow",0,bloc|
000004d0  6b 0d 02 4e 05 e1 0d 02  58 05 3a 0d 02 62 1b dd  |k..N....X.:..b..|
000004e0  20 f2 63 6c 6f 73 65 57  69 6e 64 6f 77 28 68 61  | .closeWindow(ha|
000004f0  6e 64 6c 65 25 29 0d 02  6c 13 62 6c 6f 63 6b 21  |ndle%)..l.block!|
00000500  30 3d 68 61 6e 64 6c 65  25 0d 02 76 21 c8 99 20  |0=handle%..v!.. |
00000510  22 57 69 6d 70 5f 43 6c  6f 73 65 57 69 6e 64 6f  |"Wimp_CloseWindo|
00000520  77 22 2c 30 2c 62 6c 6f  63 6b 0d 02 80 05 e1 0d  |w",0,block......|
00000530  02 8a 05 3a 0d 02 94 19  dd 20 f2 62 75 74 74 6f  |...:..... .butto|
00000540  6e 43 6c 69 63 6b 28 62  6c 6f 63 6b 29 0d 02 9e  |nClick(block)...|
00000550  37 62 75 74 74 6f 6e 25  3d 62 6c 6f 63 6b 21 38  |7button%=block!8|
00000560  20 3a 20 68 61 6e 64 6c  65 25 3d 62 6c 6f 63 6b  | : handle%=block|
00000570  21 31 32 20 3a 20 49 63  6f 6e 25 3d 62 6c 6f 63  |!12 : Icon%=bloc|
00000580  6b 21 31 36 0d 02 a8 30  e7 20 68 61 6e 64 6c 65  |k!16...0. handle|
00000590  25 3d 48 65 6c 70 25 20  8c 20 f2 68 65 6c 70 53  |%=Help% . .helpS|
000005a0  65 6c 65 63 74 28 49 63  6f 6e 25 2c 62 75 74 74  |elect(Icon%,butt|
000005b0  6f 6e 25 29 0d 02 b2 05  e1 0d 02 bc 05 3a 0d 02  |on%).........:..|
000005c0  c6 20 dd 20 f2 68 65 6c  70 53 65 6c 65 63 74 28  |. . .helpSelect(|
000005d0  49 63 6f 6e 25 2c 62 75  74 74 6f 6e 25 29 0d 02  |Icon%,button%)..|
000005e0  c7 1d e7 20 49 63 6f 6e  25 3c 31 31 20 84 20 49  |... Icon%<11 . I|
000005f0  63 6f 6e 25 3e 31 32 20  8c 20 e1 0d 02 d0 22 e7  |con%>12 . ....".|
00000600  20 49 63 6f 6e 25 3d 31  31 20 80 20 62 75 74 74  | Icon%=11 . butt|
00000610  6f 6e 25 3d 31 20 8c 20  4e 25 2b 3d 31 0d 02 da  |on%=1 . N%+=1...|
00000620  22 e7 20 49 63 6f 6e 25  3d 31 31 20 80 20 62 75  |". Icon%=11 . bu|
00000630  74 74 6f 6e 25 3d 34 20  8c 20 4e 25 2d 3d 31 0d  |tton%=4 . N%-=1.|
00000640  02 e4 22 e7 20 49 63 6f  6e 25 3d 31 32 20 80 20  |..". Icon%=12 . |
00000650  62 75 74 74 6f 6e 25 3d  31 20 8c 20 4e 25 2d 3d  |button%=1 . N%-=|
00000660  31 0d 02 ee 22 e7 20 49  63 6f 6e 25 3d 31 32 20  |1...". Icon%=12 |
00000670  80 20 62 75 74 74 6f 6e  25 3d 34 20 8c 20 4e 25  |. button%=4 . N%|
00000680  2b 3d 31 0d 02 f8 0f f2  75 70 64 61 74 65 50 61  |+=1.....updatePa|
00000690  67 65 0d 03 02 05 e1 0d  03 0c 05 3a 0d 03 16 11  |ge.........:....|
000006a0  dd 20 f2 75 70 64 61 74  65 50 61 67 65 0d 03 20  |. .updatePage.. |
000006b0  1b e7 20 4e 25 3c 31 20  8c 20 4e 25 3d 31 20 3a  |.. N%<1 . N%=1 :|
000006c0  20 ef 20 37 20 3a 20 e1  0d 03 2a 1d e7 20 4e 25  | . 7 : ...*.. N%|
000006d0  3e 52 25 20 8c 20 4e 25  3d 52 25 20 3a 20 ef 20  |>R% . N%=R% : . |
000006e0  37 20 3a 20 e1 0d 03 34  37 e3 20 62 25 3d 31 20  |7 : ...47. b%=1 |
000006f0  b8 20 31 30 20 3a 20 f2  69 6e 64 69 72 49 63 6f  |. 10 : .indirIco|
00000700  6e 28 48 65 6c 70 25 2c  62 25 2c 48 65 6c 70 24  |n(Help%,b%,Help$|
00000710  28 4e 25 2c 62 25 29 29  20 3a 20 ed 0d 03 3e 26  |(N%,b%)) : ...>&|
00000720  f2 69 6e 64 69 72 49 63  6f 6e 28 48 65 6c 70 25  |.indirIcon(Help%|
00000730  2c 31 33 2c 22 50 61 67  65 20 22 2b c3 28 4e 25  |,13,"Page "+.(N%|
00000740  29 29 0d 03 48 2e e7 20  4e 25 3d 52 25 20 8c 20  |))..H.. N%=R% . |
00000750  f2 69 6e 64 69 72 49 63  6f 6e 28 48 65 6c 70 25  |.indirIcon(Help%|
00000760  2c 31 33 2c 22 4c 61 73  74 20 50 61 67 65 22 29  |,13,"Last Page")|
00000770  0d 03 52 05 e1 0d 03 5c  05 3a 0d 03 66 21 dd 20  |..R....\.:..f!. |
00000780  f2 67 65 74 49 63 6f 6e  49 6e 66 6f 28 68 61 6e  |.getIconInfo(han|
00000790  64 6c 65 25 2c 69 63 6f  6e 25 29 0d 03 70 23 62  |dle%,icon%)..p#b|
000007a0  6c 6f 63 6b 21 30 3d 68  61 6e 64 6c 65 25 20 3a  |lock!0=handle% :|
000007b0  20 62 6c 6f 63 6b 21 34  3d 69 63 6f 6e 25 0d 03  | block!4=icon%..|
000007c0  7a 21 c8 99 20 22 57 69  6d 70 5f 47 65 74 49 63  |z!.. "Wimp_GetIc|
000007d0  6f 6e 53 74 61 74 65 22  2c 2c 62 6c 6f 63 6b 0d  |onState",,block.|
000007e0  03 84 40 69 78 30 25 3d  62 6c 6f 63 6b 21 38 20  |..@ix0%=block!8 |
000007f0  3a 20 69 79 30 25 3d 62  6c 6f 63 6b 21 31 32 20  |: iy0%=block!12 |
00000800  3a 20 69 78 31 25 3d 62  6c 6f 63 6b 21 31 36 20  |: ix1%=block!16 |
00000810  3a 20 69 79 31 25 3d 62  6c 6f 63 6b 21 32 30 0d  |: iy1%=block!20.|
00000820  03 8e 13 66 6c 61 67 73  25 3d 62 6c 6f 63 6b 21  |...flags%=block!|
00000830  32 34 0d 03 98 15 64 61  74 61 24 3d 24 28 62 6c  |24....data$=$(bl|
00000840  6f 63 6b 2b 32 38 29 0d  03 a2 05 e1 0d 03 ac 05  |ock+28).........|
00000850  3a 0d 03 b6 25 dd 20 f2  69 6e 64 69 72 49 63 6f  |:...%. .indirIco|
00000860  6e 28 68 61 6e 64 6c 65  25 2c 69 63 6f 6e 25 2c  |n(handle%,icon%,|
00000870  74 65 78 74 24 29 0d 03  c0 31 f2 67 65 74 49 63  |text$)...1.getIc|
00000880  6f 6e 49 6e 66 6f 28 68  61 6e 64 6c 65 25 2c 69  |onInfo(handle%,i|
00000890  63 6f 6e 25 29 20 3a 20  24 62 6c 6f 63 6b 21 32  |con%) : $block!2|
000008a0  38 3d 74 65 78 74 24 0d  03 ca 1f f2 73 65 74 49  |8=text$.....setI|
000008b0  63 6f 6e 28 68 61 6e 64  6c 65 25 2c 69 63 6f 6e  |con(handle%,icon|
000008c0  25 2c 30 2c 30 29 0d 03  d4 05 e1 0d 03 de 05 3a  |%,0,0).........:|
000008d0  0d 03 e8 28 dd 20 f2 73  65 74 49 63 6f 6e 28 68  |...(. .setIcon(h|
000008e0  61 6e 64 6c 65 25 2c 69  63 6f 6e 25 2c 65 6f 72  |andle%,icon%,eor|
000008f0  25 2c 6d 61 73 6b 25 29  0d 03 f2 22 21 62 6c 6f  |%,mask%)..."!blo|
00000900  63 6b 3d 68 61 6e 64 6c  65 25 20 3a 20 62 6c 6f  |ck=handle% : blo|
00000910  63 6b 21 34 3d 69 63 6f  6e 25 0d 03 fc 23 62 6c  |ck!4=icon%...#bl|
00000920  6f 63 6b 21 38 3d 65 6f  72 25 20 20 20 3a 20 62  |ock!8=eor%   : b|
00000930  6c 6f 63 6b 21 31 32 3d  6d 61 73 6b 25 0d 04 06  |lock!12=mask%...|
00000940  21 c8 99 20 22 57 69 6d  70 5f 53 65 74 49 63 6f  |!.. "Wimp_SetIco|
00000950  6e 53 74 61 74 65 22 2c  2c 62 6c 6f 63 6b 0d 04  |nState",,block..|
00000960  10 05 e1 0d 04 1a 05 3a  0d 04 24 0b dd 20 f2 72  |.......:..$.. .r|
00000970  65 61 64 0d 04 2e 24 63  68 61 6e 25 3d 8e 20 22  |ead...$chan%=. "|
00000980  3c 55 6e 69 48 65 6c 70  24 44 69 72 3e 2e 48 65  |<UniHelp$Dir>.He|
00000990  6c 70 54 65 78 74 22 0d  04 38 12 54 69 74 6c 65  |lpText"..8.Title|
000009a0  24 3d be 23 63 68 61 6e  25 0d 04 56 11 52 25 3d  |$=.#chan%..V.R%=|
000009b0  bb 28 be 23 63 68 61 6e  25 29 0d 04 57 1d e3 20  |.(.#chan%)..W.. |
000009c0  62 25 3d 31 20 b8 20 52  25 20 3a 20 e3 20 63 25  |b%=1 . R% : . c%|
000009d0  3d 31 20 b8 20 31 30 0d  04 6a 1a 20 20 48 65 6c  |=1 . 10..j.  Hel|
000009e0  70 24 28 62 25 2c 63 25  29 3d be 23 63 68 61 6e  |p$(b%,c%)=.#chan|
000009f0  25 0d 04 6b 09 ed 20 3a  20 ed 0d 04 74 0c d9 20  |%..k.. : ...t.. |
00000a00  23 63 68 61 6e 25 0d 04  7e 1e f2 69 6e 64 69 72  |#chan%..~..indir|
00000a10  49 63 6f 6e 28 48 65 6c  70 25 2c 30 2c 54 69 74  |Icon(Help%,0,Tit|
00000a20  6c 65 24 29 0d 04 88 05  e1 0d 04 92 05 3a 0d 04  |le$).........:..|
00000a30  9c 0c dd 20 f2 65 72 72  6f 72 0d 04 a6 19 c8 99  |... .error......|
00000a40  20 22 57 69 6d 70 5f 44  72 61 67 42 6f 78 22 2c  | "Wimp_DragBox",|
00000a50  2c 2d 31 0d 04 b0 73 21  62 6c 6f 63 6b 3d 9f 20  |,-1...s!block=. |
00000a60  3a 20 24 28 62 6c 6f 63  6b 2b 34 29 3d 22 48 65  |: $(block+4)="He|
00000a70  6c 70 20 68 61 73 20 73  75 66 66 65 72 65 64 20  |lp has suffered |
00000a80  61 20 66 61 74 61 6c 20  65 72 72 6f 72 20 28 22  |a fatal error ("|
00000a90  2b f6 24 2b 22 20 61 74  20 6c 69 6e 65 20 22 2b  |+.$+" at line "+|
00000aa0  c3 28 9e 29 2b 22 29 20  61 6e 64 20 6d 75 73 74  |.(.)+") and must|
00000ab0  20 65 78 69 74 20 69 6d  6d 65 64 69 61 74 65 6c  | exit immediatel|
00000ac0  79 2e 22 2b bd 30 0d 04  ba 34 c8 99 20 22 57 69  |y."+.0...4.. "Wi|
00000ad0  6d 70 5f 52 65 70 6f 72  74 45 72 72 6f 72 22 2c  |mp_ReportError",|
00000ae0  62 6c 6f 63 6b 2c 31 2c  22 41 70 70 6c 69 63 61  |block,1,"Applica|
00000af0  74 69 6f 6e 20 48 65 6c  70 22 0d 04 c4 05 e1 0d  |tion Help"......|
00000b00  ff                                                |.|
00000b01