Home » Archimedes archive » Archimedes World » AW-1994-04-Disc1.adf » Disk1Apr94 » !AWApr94/Goodies/NumberCon/!NumConv/!RunImage

!AWApr94/Goodies/NumberCon/!NumConv/!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 » Archimedes World » AW-1994-04-Disc1.adf » Disk1Apr94
Filename: !AWApr94/Goodies/NumberCon/!NumConv/!RunImage
Read OK:
File size: 1B34 bytes
Load address: 0000
Exec address: 0000
File contents
   10ON ERROR REPORT : PRINT " at line ";ERL : END
   20
   30DIM      chunk% 4096
   40DIM        mem% 2048
   50DIM messagebit%  256
   60DIM     convert  256
   70DIM        buf%  256
   80DIM       menu%  128
   90DIM descripter%   16
  100
  110PROCinitialise
  120PROCloadtemplates
  130PROCicon
  140PROCmenu
  150PROCbanner
  160
  170REPEAT
  180SYS "WimpExt_PrePoll"
  190SYS "Wimp_Poll",,chunk% TO reason%
  200SYS "WimpExt_Action",task%,chunk%,reason%
  210CASE reason% OF
  220WHEN 0 : PROCnull
  230WHEN 1 : PROCredraw
  240WHEN 2 : SYS "WimpExt_OpenLinked",,chunk%
  250WHEN 3 : SYS "WimpExt_CloseLinked",,chunk%
  260WHEN 6 : PROCmousepressed
  270WHEN 9 : PROCmenuselection
  280WHEN 17,18,19 : PROCusermessage
  290ENDCASE
  300UNTIL FALSE
  310END
  320
  330DEF PROCinitialise
  340SYS "Wimp_Initialise",200,&4B534154,"Number Converter" TO ,task%
  350SYS "WimpExt_Initialise",,task%,%100110010
  360ENDPROC
  370
  380DEF PROCloadtemplates
  390length%=&800
  400DIM indirect% length%
  410workspace%=indirect%
  420SYS "Wimp_OpenTemplate",,"<NumConv$Dir>.Templates"
  430SYS "Wimp_LoadTemplate",,chunk%,workspace%,indirect%+length%,-1,"Info",0 TO,,workspace%
  440SYS "Wimp_CreateWindow",,chunk% TO info%
  450SYS "Wimp_LoadTemplate",,chunk%,workspace%,indirect%+length%,-1,"Main",0 TO,,workspace%
  460SYS "Wimp_CreateWindow",,chunk% TO main%
  470SYS "Wimp_LoadTemplate",,chunk%,workspace%,indirect%+length%,-1,"Banner",0 TO,,workspace%
  480SYS "Wimp_CreateWindow",,chunk% TO banner%
  490SYS "Wimp_CloseTemplate"
  500ENDPROC
  510
  520DEF PROCmenu
  530$menu%       ="NumConv"
  540menu%?12     = 7
  550menu%?13     = 2
  560menu%?14     = 7
  570menu%?15     = 0
  580menu%!16     = &70
  590menu%!20     = 40
  600menu%!24     = 0
  610
  620menu%!28     = 0
  630menu%!32     = info%
  640menu%!36     = &7000011
  650$(menu%+40)  = "Info"
  660
  670menu%!52     = 128
  680menu%!56     = -1
  690menu%!60     = &7000011
  700$(menu%+64)  = "Quit"
  710ENDPROC
  720
  730DEF PROCicon
  740SYS "WimpExt_IconBarSprite",,,-1,"!NumConv",,3 TO iconbarhandle%
  750ENDPROC
  760
  770DEF PROCusermessage
  780FOR message%=0TO&FF STEP 4
  790messagebit%!message%=chunk%!message%
  800NEXT
  810CASE messagebit%!16 OF
  820WHEN 0     : PROCshutdown
  830WHEN &00502: PROCsendhelp
  840ENDCASE
  850ENDPROC
  860
  870DEF PROCerror
  880ON ERROR OFF
  890CASE ERR OF
  900 WHEN 20
  910  SYS "Wimp_ReportError","The largest number you can have is 2147483647. Sorry",2,"NumConv"
  920  PROCclear
  930  ENDPROC
  940 WHEN 28
  950  SYS "Wimp_ReportError","The hex largest number you can have is 7FFFFFFF. Sorry",2,"NumConv"
  960  PROCclear
  970  ENDPROC
  980ENDCASE
  990ENDPROC
 1000SYS "Wimp_ReportError",STRING$(4,CHR$(0))+REPORT$+" ("+(STR$ERL)+"). "+(STR$ERR),2,"NumConv"
 1010PROCshutdown
 1020ENDPROC
 1030
 1040DEF PROCredraw
 1050SYS "WimpExt_AutoRedraw",,chunk%
 1060ENDPROC
 1070
 1080DEF PROCmousepressed
 1090IF chunk%!12=-2 THEN
 1100 CASE chunk%!8 OF
 1110  WHEN 4: !chunk%=main%
 1120        SYS "Wimp_GetWindowState",,chunk%
 1130        SYS "WimpExt_CentreWindow",,chunk%+4
 1140        SYS "WimpExt_CentreWindowV",,chunk%+4
 1150        SYS "WimpExt_OpenLinked",,chunk%
 1160        ENDPROC
 1170  WHEN 2: SYS "Wimp_CreateMenu",,menu%,(chunk%!0)-(32+menu%!16)/2,176
 1180 ENDCASE
 1190ENDIF
 1200
 1210IF chunk%!12=main% AND chunk%!8<>2 THEN
 1220 CASE chunk%!16 OF
 1230  WHEN 10
 1240   PROCclear
 1250  WHEN 9
 1260   PROCcalculate
 1270 ENDCASE
 1280ENDIF
 1290ENDPROC
 1300
 1310DEF PROCmenuselection
 1320menuitem%=chunk%!0
 1330CASE menuitem% OF
 1340WHEN 1 : PROCshutdown
 1350ENDCASE
 1360ENDPROC
 1370
 1380DEF PROCshutdown
 1390SYS "WimpExt_CloseDown",task%
 1400SYS "Wimp_CloseDown",task%,&4B534154
 1410END
 1420ENDPROC
 1430
 1440DEF PROCsendhelp
 1450help$ = "NumConv"
 1460CASE messagebit%!32 OF
 1470 WHEN info% : help$="This is the NumConv information window"
 1480 WHEN -2 : help$="This is the NumConv icon. Click Select on it to bring up the main window, |Mand menu to bring up the menu"
 1490 WHEN main% : help$="This is the converter window. For full information read the !Help file or position the pointer over the appropriate icon"
 1500  CASE messagebit%!36 OF
 1510   WHEN 3 : help$="Select this icon to convert from Binary to Decimal and Hexadecimal"
 1520   WHEN 5 : help$="Select this icon to convert from Decimal to Binary and Hexadecimal"
 1530   WHEN 4 : help$="Select this icon to convert from Hexadecimal to Binary and Decimal"
 1540   WHEN 6 : help$="Insert the Binary number to be converted in here"
 1550   WHEN 7 : help$="Insert the Decimal number to be converted in here"
 1560   WHEN 8 : help$="Insert the Hexadecimal number to be converted in here"
 1570   WHEN 10 : help$="Click on this icon to clear all the numbers"
 1580   WHEN 9 : help$="Click on this icon to calculate the binary,decimal or hexadecimal number|M into the other two types"
 1590  ENDCASE
 1600 ENDCASE
 1610chunk%!00 = 256
 1620chunk%!12 = messagebit%!8
 1630chunk%!16 = &0503
 1640$(chunk%+20)= help$
 1650SYS "Wimp_SendMessage",17,chunk%,chunk%!4
 1660ENDPROC
 1670
 1680DEF PROCnull
 1690IF banner=TRUE THEN ENDPROC
 1700FOR dot=0 TO 45
 1710SYS "WimpExt_SetIconStringN",,,banner%,1,STRING$(dot,".")
 1720old=TIME
 1730REPEAT
 1740UNTIL (TIME-old)>6
 1750NEXT
 1760SYS "WimpExt_CloseLinked",,chunk%
 1770banner=TRUE
 1780SYS "Hourglass_Smash"
 1790ENDPROC
 1800
 1810DEF PROCbanner
 1820banner=FALSE
 1830SYS "Hourglass_On"
 1840!chunk%=banner%
 1850SYS "Wimp_GetWindowState",,chunk%
 1860SYS "WimpExt_CentreWindow",,chunk%+4
 1870SYS "WimpExt_CentreWindowV",,chunk%+4
 1880SYS "WimpExt_OpenLinked",,chunk%
 1890ENDPROC
 1900
 1910DEF PROCclear
 1920SYS "WimpExt_SetIconStringN",,,main%,6,""
 1930SYS "WimpExt_SetIconStringN",,,main%,7,""
 1940SYS "WimpExt_SetIconStringN",,,main%,8,""
 1950ENDPROC
 1960
 1970DEF PROCcalculate
 1980input$=""
 1990SYS "WimpExt_GetIcon",,,main%,3 TO sel
 2000IF sel=1 THEN input$="Binary" ELSE sel=0
 2010SYS "WimpExt_GetIcon",,,main%,5 TO sel
 2020IF sel=1 THEN input$="Decimal" ELSE sel=0
 2030SYS "WimpExt_GetIcon",,,main%,4 TO sel
 2040IF sel=1 THEN input$="Hexadecimal" ELSE sel=0
 2050
 2060CASE input$ OF
 2070 WHEN "Binary"
 2080  SYS "WimpExt_GetIcon",,,main%,6 TO ,,,number$
 2090  IF number$="" THEN ENDPROC
 2100  $convert=number$
 2110  SYS "OS_ReadUnsigned",2,convert TO ,,decimal
 2120  SYS "WimpExt_SetIconStringN",,,main%,7,STR$(decimal)
 2130  SYS "OS_ReadUnsigned",2,convert TO ,,hex
 2140  SYS "WimpExt_SetIconStringN",,,main%,8,STR$~(hex)
 2150
 2160 WHEN "Decimal"
 2170  SYS "WimpExt_GetIcon",,,main%,7 TO ,,,number$
 2180  IF number$="" THEN ENDPROC
 2190  SYS"OS_ConvertBinary4",EVAL(number$),convert,100 TO binary$
 2200  REPEAT
 2210   IF LEFT$(binary$,1) = "0" THEN
 2220    newlen=LEN(binary$)-1
 2230    binary$=RIGHT$(binary$,newlen)
 2240    end=FALSE
 2250   ELSE
 2260    end=TRUE
 2270   ENDIF
 2280  UNTIL end=TRUE
 2290  SYS "WimpExt_SetIconStringN",,,main%,6,binary$
 2300  $convert=number$
 2310  SYS"OS_ReadUnsigned",10,convert TO ,,hex
 2320  SYS "WimpExt_SetIconStringN",,,main%,8,STR$~(hex)
 2330
 2340 WHEN "Hexadecimal"
 2350  SYS "WimpExt_GetIcon",,,main%,8 TO ,,,number$
 2360  IF number$="" THEN ENDPROC
 2370  SYS"OS_ConvertBinary4",EVAL("&"+number$),convert,100 TO binary$
 2380  REPEAT
 2390   IF LEFT$(binary$,1) = "0" THEN
 2400    newlen=LEN(binary$)-1
 2410    binary$=RIGHT$(binary$,newlen)
 2420    end=FALSE
 2430   ELSE
 2440    end=TRUE
 2450   ENDIF
 2460  UNTIL end=TRUE
 2470  SYS "WimpExt_SetIconStringN",,,main%,6,binary$
 2480  FOR BD=convert TO convert+99
 2490  ?BD=&D
 2500  NEXT BD
 2510  SYS"OS_BinaryToDecimal",EVAL("&"+number$),convert,100
 2520  decimal$=$convert
 2530  SYS "WimpExt_SetIconStringN",,,main%,7,decimal$
 2540ENDCASE
 2550ENDPROC
 2560
 2570REM
 2580
 2590SYS "MessageTrans_FileInfo",,"<NumConv$Dir>.Messages" TO flag%,,len%
 2600IF flag% AND 1 len%=0:mem%=0 ELSE mem%=mem%
 2610IF len%>2048 ERROR 1,"Please increase 2048"
 2620SYS "MessageTrans_OpenFile",descripter%,"<NumConv$Dir>.Messages",mem%
 2630PRINT FNmessage(descripter%,"CopyR")
 2640PRINT FNmessage(descripter%,"Vrsin")
 2650SYS "MessageTrans_CloseFile",descripter%
 2660
 2670REM SYS "WimpExt_SetIconStringN",,,info%,7,copyright$
 2680REM SYS "WimpExt_SetIconStringN",,,info%,8,version$
� � � : � " at line ";� : �

�      chunk% 4096
(�        mem% 2048
2� messagebit%  256
<�     convert  256
F�        buf%  256
P�       menu%  128
Z� descripter%   16
d
n�initialise
x�loadtemplates
�	�icon
�	�menu
��banner
�
��
�ș "WimpExt_PrePoll"
�$ș "Wimp_Poll",,chunk% � reason%
�,ș "WimpExt_Action",task%,chunk%,reason%
�Ȏ reason% �
�� 0 : �null
�� 1 : �redraw
�)� 2 : ș "WimpExt_OpenLinked",,chunk%
�*� 3 : ș "WimpExt_CloseLinked",,chunk%
� 6 : �mousepressed
� 9 : �menuselection
� 17,18,19 : �usermessage
"�
,� �
6�
@
J� �initialise
TBș "Wimp_Initialise",200,&4B534154,"Number Converter" � ,task%
^-ș "WimpExt_Initialise",,task%,%100110010
h�
r
|� �loadtemplates
�length%=&800
�� indirect% length%
�workspace%=indirect%
�5ș "Wimp_OpenTemplate",,"<NumConv$Dir>.Templates"
�Yș "Wimp_LoadTemplate",,chunk%,workspace%,indirect%+length%,-1,"Info",0 �,,workspace%
�*ș "Wimp_CreateWindow",,chunk% � info%
�Yș "Wimp_LoadTemplate",,chunk%,workspace%,indirect%+length%,-1,"Main",0 �,,workspace%
�*ș "Wimp_CreateWindow",,chunk% � main%
�[ș "Wimp_LoadTemplate",,chunk%,workspace%,indirect%+length%,-1,"Banner",0 �,,workspace%
�,ș "Wimp_CreateWindow",,chunk% � banner%
�ș "Wimp_CloseTemplate"
��
�
� �menu
$menu%       ="NumConv"
menu%?12     = 7
&menu%?13     = 2
0menu%?14     = 7
:menu%?15     = 0
Dmenu%!16     = &70
Nmenu%!20     = 40
Xmenu%!24     = 0
b
lmenu%!28     = 0
vmenu%!32     = info%
�menu%!36     = &7000011
�$(menu%+40)  = "Info"
�
�menu%!52     = 128
�menu%!56     = -1
�menu%!60     = &7000011
�$(menu%+64)  = "Quit"
��
�
�� �icon
�Bș "WimpExt_IconBarSprite",,,-1,"!NumConv",,3 � iconbarhandle%
��
�
� �usermessage
� message%=0�&FF � 4
(messagebit%!message%=chunk%!message%
 �
*Ȏ messagebit%!16 �
4� 0     : �shutdown
>� &00502: �sendhelp
H�
R�
\
f� �error
p	� � �
z
Ȏ � �
�	 � 20
�b  ș "Wimp_ReportError","The largest number you can have is 2147483647. Sorry",2,"NumConv"
�  �clear
�  �
�	 � 28
�d  ș "Wimp_ReportError","The hex largest number you can have is 7FFFFFFF. Sorry",2,"NumConv"
�  �clear
�  �
��
��
�Fș "Wimp_ReportError",�4,�(0))+�$+" ("+(Þ)+"). "+(ß),2,"NumConv"
�
�shutdown
��


� �redraw
#ș "WimpExt_AutoRedraw",,chunk%
$�
.
8� �mousepressed
B� chunk%!12=-2 �
L Ȏ chunk%!8 �
V  � 4: !chunk%=main%
`,        ș "Wimp_GetWindowState",,chunk%
j/        ș "WimpExt_CentreWindow",,chunk%+4
t0        ș "WimpExt_CentreWindowV",,chunk%+4
~+        ș "WimpExt_OpenLinked",,chunk%
�
        �
�E  � 2: ș "Wimp_CreateMenu",,menu%,(chunk%!0)-(32+menu%!16)/2,176
� �
��
�
�%� chunk%!12=main% � chunk%!8<>2 �
� Ȏ chunk%!16 �
�
  � 10
�
   �clear
�	  � 9
�   �calculate
� �
�

�

� �menuselection
(menuitem%=chunk%!0
2Ȏ menuitem% �
<� 1 : �shutdown
F�
P�
Z
d� �shutdown
n ș "WimpExt_CloseDown",task%
x'ș "Wimp_CloseDown",task%,&4B534154
��
��
�
�� �sendhelp
�help$ = "NumConv"
�Ȏ messagebit%!32 �
�= � info% : help$="This is the NumConv information window"
�} � -2 : help$="This is the NumConv icon. Click Select on it to bring up the main window, |Mand menu to bring up the menu"
ҏ � main% : help$="This is the converter window. For full information read the !Help file or position the pointer over the appropriate icon"
�  Ȏ messagebit%!36 �
�W   � 3 : help$="Select this icon to convert from Binary to Decimal and Hexadecimal"
�W   � 5 : help$="Select this icon to convert from Decimal to Binary and Hexadecimal"
�W   � 4 : help$="Select this icon to convert from Hexadecimal to Binary and Decimal"
E   � 6 : help$="Insert the Binary number to be converted in here"
F   � 7 : help$="Insert the Decimal number to be converted in here"
J   � 8 : help$="Insert the Hexadecimal number to be converted in here"
"A   � 10 : help$="Click on this icon to clear all the numbers"
,x   � 9 : help$="Click on this icon to calculate the binary,decimal or hexadecimal number|M into the other two types"
6  �
@ �
Jchunk%!00 = 256
Tchunk%!12 = messagebit%!8
^chunk%!16 = &0503
h$(chunk%+20)= help$
r,ș "Wimp_SendMessage",17,chunk%,chunk%!4
|�
�
�� �null
�� banner=� � �
�� dot=0 � 45
�5ș "WimpExt_SetIconStringN",,,banner%,1,�dot,".")
�	old=�
��
�� (�-old)>6
��
�$ș "WimpExt_CloseLinked",,chunk%
�banner=�
�ș "Hourglass_Smash"
��


� �banner
banner=�
&ș "Hourglass_On"
0!chunk%=banner%
:$ș "Wimp_GetWindowState",,chunk%
D'ș "WimpExt_CentreWindow",,chunk%+4
N(ș "WimpExt_CentreWindowV",,chunk%+4
X#ș "WimpExt_OpenLinked",,chunk%
b�
l
v� �clear
�,ș "WimpExt_SetIconStringN",,,main%,6,""
�,ș "WimpExt_SetIconStringN",,,main%,7,""
�,ș "WimpExt_SetIconStringN",,,main%,8,""
��
�
�� �calculate
�
input$=""
�(ș "WimpExt_GetIcon",,,main%,3 � sel
�%� sel=1 � input$="Binary" � sel=0
�(ș "WimpExt_GetIcon",,,main%,5 � sel
�&� sel=1 � input$="Decimal" � sel=0
�(ș "WimpExt_GetIcon",,,main%,4 � sel
�*� sel=1 � input$="Hexadecimal" � sel=0

Ȏ input$ �
 � "Binary"
 1  ș "WimpExt_GetIcon",,,main%,6 � ,,,number$
*  � number$="" � �
4  $convert=number$
>0  ș "OS_ReadUnsigned",2,convert � ,,decimal
H6  ș "WimpExt_SetIconStringN",,,main%,7,�(decimal)
R,  ș "OS_ReadUnsigned",2,convert � ,,hex
\3  ș "WimpExt_SetIconStringN",,,main%,8,�~(hex)
f
p � "Decimal"
z1  ș "WimpExt_GetIcon",,,main%,7 � ,,,number$
�  � number$="" � �
�<  ș"OS_ConvertBinary4",�(number$),convert,100 � binary$
�  �
�   � �binary$,1) = "0" �
�    newlen=�(binary$)-1
�     binary$=�binary$,newlen)
�
    end=�
�   �
�
    end=�
�   �
�
  � end=�
�3  ș "WimpExt_SetIconStringN",,,main%,6,binary$
�  $convert=number$
	,  ș"OS_ReadUnsigned",10,convert � ,,hex
	3  ș "WimpExt_SetIconStringN",,,main%,8,�~(hex)
	
	$ � "Hexadecimal"
	.1  ș "WimpExt_GetIcon",,,main%,8 � ,,,number$
	8  � number$="" � �
	B@  ș"OS_ConvertBinary4",�("&"+number$),convert,100 � binary$
	L  �
	V   � �binary$,1) = "0" �
	`    newlen=�(binary$)-1
	j     binary$=�binary$,newlen)
	t
    end=�
	~   �
	�
    end=�
	�   �
	�
  � end=�
	�3  ș "WimpExt_SetIconStringN",,,main%,6,binary$
	�  � BD=convert � convert+99
	�  ?BD=&D
	�
  � BD
	�7  ș"OS_BinaryToDecimal",�("&"+number$),convert,100
	�  decimal$=$convert
	�4  ș "WimpExt_SetIconStringN",,,main%,7,decimal$
	��
	��


�

Fș "MessageTrans_FileInfo",,"<NumConv$Dir>.Messages" � flag%,,len%
()� flag% � 1 len%=0:mem%=0 � mem%=mem%
2*� len%>2048 � 1,"Please increase 2048"
<Hș "MessageTrans_OpenFile",descripter%,"<NumConv$Dir>.Messages",mem%
F#� �message(descripter%,"CopyR")
P#� �message(descripter%,"Vrsin")
Z+ș "MessageTrans_CloseFile",descripter%
d
n7� SYS "WimpExt_SetIconStringN",,,info%,7,copyright$
x5� SYS "WimpExt_SetIconStringN",,,info%,8,version$
�
00000000  0d 00 0a 1f ee 20 85 20  f6 20 3a 20 f1 20 22 20  |..... . . : . " |
00000010  61 74 20 6c 69 6e 65 20  22 3b 9e 20 3a 20 e0 0d  |at line ";. : ..|
00000020  00 14 04 0d 00 1e 16 de  20 20 20 20 20 20 63 68  |........      ch|
00000030  75 6e 6b 25 20 34 30 39  36 0d 00 28 16 de 20 20  |unk% 4096..(..  |
00000040  20 20 20 20 20 20 6d 65  6d 25 20 32 30 34 38 0d  |      mem% 2048.|
00000050  00 32 16 de 20 6d 65 73  73 61 67 65 62 69 74 25  |.2.. messagebit%|
00000060  20 20 32 35 36 0d 00 3c  16 de 20 20 20 20 20 63  |  256..<..     c|
00000070  6f 6e 76 65 72 74 20 20  32 35 36 0d 00 46 16 de  |onvert  256..F..|
00000080  20 20 20 20 20 20 20 20  62 75 66 25 20 20 32 35  |        buf%  25|
00000090  36 0d 00 50 16 de 20 20  20 20 20 20 20 6d 65 6e  |6..P..       men|
000000a0  75 25 20 20 31 32 38 0d  00 5a 16 de 20 64 65 73  |u%  128..Z.. des|
000000b0  63 72 69 70 74 65 72 25  20 20 20 31 36 0d 00 64  |cripter%   16..d|
000000c0  04 0d 00 6e 0f f2 69 6e  69 74 69 61 6c 69 73 65  |...n..initialise|
000000d0  0d 00 78 12 f2 6c 6f 61  64 74 65 6d 70 6c 61 74  |..x..loadtemplat|
000000e0  65 73 0d 00 82 09 f2 69  63 6f 6e 0d 00 8c 09 f2  |es.....icon.....|
000000f0  6d 65 6e 75 0d 00 96 0b  f2 62 61 6e 6e 65 72 0d  |menu.....banner.|
00000100  00 a0 04 0d 00 aa 05 f5  0d 00 b4 18 c8 99 20 22  |.............. "|
00000110  57 69 6d 70 45 78 74 5f  50 72 65 50 6f 6c 6c 22  |WimpExt_PrePoll"|
00000120  0d 00 be 24 c8 99 20 22  57 69 6d 70 5f 50 6f 6c  |...$.. "Wimp_Pol|
00000130  6c 22 2c 2c 63 68 75 6e  6b 25 20 b8 20 72 65 61  |l",,chunk% . rea|
00000140  73 6f 6e 25 0d 00 c8 2c  c8 99 20 22 57 69 6d 70  |son%...,.. "Wimp|
00000150  45 78 74 5f 41 63 74 69  6f 6e 22 2c 74 61 73 6b  |Ext_Action",task|
00000160  25 2c 63 68 75 6e 6b 25  2c 72 65 61 73 6f 6e 25  |%,chunk%,reason%|
00000170  0d 00 d2 10 c8 8e 20 72  65 61 73 6f 6e 25 20 ca  |...... reason% .|
00000180  0d 00 dc 0f c9 20 30 20  3a 20 f2 6e 75 6c 6c 0d  |..... 0 : .null.|
00000190  00 e6 11 c9 20 31 20 3a  20 f2 72 65 64 72 61 77  |.... 1 : .redraw|
000001a0  0d 00 f0 29 c9 20 32 20  3a 20 c8 99 20 22 57 69  |...). 2 : .. "Wi|
000001b0  6d 70 45 78 74 5f 4f 70  65 6e 4c 69 6e 6b 65 64  |mpExt_OpenLinked|
000001c0  22 2c 2c 63 68 75 6e 6b  25 0d 00 fa 2a c9 20 33  |",,chunk%...*. 3|
000001d0  20 3a 20 c8 99 20 22 57  69 6d 70 45 78 74 5f 43  | : .. "WimpExt_C|
000001e0  6c 6f 73 65 4c 69 6e 6b  65 64 22 2c 2c 63 68 75  |loseLinked",,chu|
000001f0  6e 6b 25 0d 01 04 17 c9  20 36 20 3a 20 f2 6d 6f  |nk%..... 6 : .mo|
00000200  75 73 65 70 72 65 73 73  65 64 0d 01 0e 18 c9 20  |usepressed..... |
00000210  39 20 3a 20 f2 6d 65 6e  75 73 65 6c 65 63 74 69  |9 : .menuselecti|
00000220  6f 6e 0d 01 18 1d c9 20  31 37 2c 31 38 2c 31 39  |on..... 17,18,19|
00000230  20 3a 20 f2 75 73 65 72  6d 65 73 73 61 67 65 0d  | : .usermessage.|
00000240  01 22 05 cb 0d 01 2c 07  fd 20 a3 0d 01 36 05 e0  |."....,.. ...6..|
00000250  0d 01 40 04 0d 01 4a 11  dd 20 f2 69 6e 69 74 69  |..@...J.. .initi|
00000260  61 6c 69 73 65 0d 01 54  42 c8 99 20 22 57 69 6d  |alise..TB.. "Wim|
00000270  70 5f 49 6e 69 74 69 61  6c 69 73 65 22 2c 32 30  |p_Initialise",20|
00000280  30 2c 26 34 42 35 33 34  31 35 34 2c 22 4e 75 6d  |0,&4B534154,"Num|
00000290  62 65 72 20 43 6f 6e 76  65 72 74 65 72 22 20 b8  |ber Converter" .|
000002a0  20 2c 74 61 73 6b 25 0d  01 5e 2d c8 99 20 22 57  | ,task%..^-.. "W|
000002b0  69 6d 70 45 78 74 5f 49  6e 69 74 69 61 6c 69 73  |impExt_Initialis|
000002c0  65 22 2c 2c 74 61 73 6b  25 2c 25 31 30 30 31 31  |e",,task%,%10011|
000002d0  30 30 31 30 0d 01 68 05  e1 0d 01 72 04 0d 01 7c  |0010..h....r...||
000002e0  14 dd 20 f2 6c 6f 61 64  74 65 6d 70 6c 61 74 65  |.. .loadtemplate|
000002f0  73 0d 01 86 10 6c 65 6e  67 74 68 25 3d 26 38 30  |s....length%=&80|
00000300  30 0d 01 90 17 de 20 69  6e 64 69 72 65 63 74 25  |0..... indirect%|
00000310  20 6c 65 6e 67 74 68 25  0d 01 9a 18 77 6f 72 6b  | length%....work|
00000320  73 70 61 63 65 25 3d 69  6e 64 69 72 65 63 74 25  |space%=indirect%|
00000330  0d 01 a4 35 c8 99 20 22  57 69 6d 70 5f 4f 70 65  |...5.. "Wimp_Ope|
00000340  6e 54 65 6d 70 6c 61 74  65 22 2c 2c 22 3c 4e 75  |nTemplate",,"<Nu|
00000350  6d 43 6f 6e 76 24 44 69  72 3e 2e 54 65 6d 70 6c  |mConv$Dir>.Templ|
00000360  61 74 65 73 22 0d 01 ae  59 c8 99 20 22 57 69 6d  |ates"...Y.. "Wim|
00000370  70 5f 4c 6f 61 64 54 65  6d 70 6c 61 74 65 22 2c  |p_LoadTemplate",|
00000380  2c 63 68 75 6e 6b 25 2c  77 6f 72 6b 73 70 61 63  |,chunk%,workspac|
00000390  65 25 2c 69 6e 64 69 72  65 63 74 25 2b 6c 65 6e  |e%,indirect%+len|
000003a0  67 74 68 25 2c 2d 31 2c  22 49 6e 66 6f 22 2c 30  |gth%,-1,"Info",0|
000003b0  20 b8 2c 2c 77 6f 72 6b  73 70 61 63 65 25 0d 01  | .,,workspace%..|
000003c0  b8 2a c8 99 20 22 57 69  6d 70 5f 43 72 65 61 74  |.*.. "Wimp_Creat|
000003d0  65 57 69 6e 64 6f 77 22  2c 2c 63 68 75 6e 6b 25  |eWindow",,chunk%|
000003e0  20 b8 20 69 6e 66 6f 25  0d 01 c2 59 c8 99 20 22  | . info%...Y.. "|
000003f0  57 69 6d 70 5f 4c 6f 61  64 54 65 6d 70 6c 61 74  |Wimp_LoadTemplat|
00000400  65 22 2c 2c 63 68 75 6e  6b 25 2c 77 6f 72 6b 73  |e",,chunk%,works|
00000410  70 61 63 65 25 2c 69 6e  64 69 72 65 63 74 25 2b  |pace%,indirect%+|
00000420  6c 65 6e 67 74 68 25 2c  2d 31 2c 22 4d 61 69 6e  |length%,-1,"Main|
00000430  22 2c 30 20 b8 2c 2c 77  6f 72 6b 73 70 61 63 65  |",0 .,,workspace|
00000440  25 0d 01 cc 2a c8 99 20  22 57 69 6d 70 5f 43 72  |%...*.. "Wimp_Cr|
00000450  65 61 74 65 57 69 6e 64  6f 77 22 2c 2c 63 68 75  |eateWindow",,chu|
00000460  6e 6b 25 20 b8 20 6d 61  69 6e 25 0d 01 d6 5b c8  |nk% . main%...[.|
00000470  99 20 22 57 69 6d 70 5f  4c 6f 61 64 54 65 6d 70  |. "Wimp_LoadTemp|
00000480  6c 61 74 65 22 2c 2c 63  68 75 6e 6b 25 2c 77 6f  |late",,chunk%,wo|
00000490  72 6b 73 70 61 63 65 25  2c 69 6e 64 69 72 65 63  |rkspace%,indirec|
000004a0  74 25 2b 6c 65 6e 67 74  68 25 2c 2d 31 2c 22 42  |t%+length%,-1,"B|
000004b0  61 6e 6e 65 72 22 2c 30  20 b8 2c 2c 77 6f 72 6b  |anner",0 .,,work|
000004c0  73 70 61 63 65 25 0d 01  e0 2c c8 99 20 22 57 69  |space%...,.. "Wi|
000004d0  6d 70 5f 43 72 65 61 74  65 57 69 6e 64 6f 77 22  |mp_CreateWindow"|
000004e0  2c 2c 63 68 75 6e 6b 25  20 b8 20 62 61 6e 6e 65  |,,chunk% . banne|
000004f0  72 25 0d 01 ea 1b c8 99  20 22 57 69 6d 70 5f 43  |r%...... "Wimp_C|
00000500  6c 6f 73 65 54 65 6d 70  6c 61 74 65 22 0d 01 f4  |loseTemplate"...|
00000510  05 e1 0d 01 fe 04 0d 02  08 0b dd 20 f2 6d 65 6e  |........... .men|
00000520  75 0d 02 12 1b 24 6d 65  6e 75 25 20 20 20 20 20  |u....$menu%     |
00000530  20 20 3d 22 4e 75 6d 43  6f 6e 76 22 0d 02 1c 14  |  ="NumConv"....|
00000540  6d 65 6e 75 25 3f 31 32  20 20 20 20 20 3d 20 37  |menu%?12     = 7|
00000550  0d 02 26 14 6d 65 6e 75  25 3f 31 33 20 20 20 20  |..&.menu%?13    |
00000560  20 3d 20 32 0d 02 30 14  6d 65 6e 75 25 3f 31 34  | = 2..0.menu%?14|
00000570  20 20 20 20 20 3d 20 37  0d 02 3a 14 6d 65 6e 75  |     = 7..:.menu|
00000580  25 3f 31 35 20 20 20 20  20 3d 20 30 0d 02 44 16  |%?15     = 0..D.|
00000590  6d 65 6e 75 25 21 31 36  20 20 20 20 20 3d 20 26  |menu%!16     = &|
000005a0  37 30 0d 02 4e 15 6d 65  6e 75 25 21 32 30 20 20  |70..N.menu%!20  |
000005b0  20 20 20 3d 20 34 30 0d  02 58 14 6d 65 6e 75 25  |   = 40..X.menu%|
000005c0  21 32 34 20 20 20 20 20  3d 20 30 0d 02 62 04 0d  |!24     = 0..b..|
000005d0  02 6c 14 6d 65 6e 75 25  21 32 38 20 20 20 20 20  |.l.menu%!28     |
000005e0  3d 20 30 0d 02 76 18 6d  65 6e 75 25 21 33 32 20  |= 0..v.menu%!32 |
000005f0  20 20 20 20 3d 20 69 6e  66 6f 25 0d 02 80 1b 6d  |    = info%....m|
00000600  65 6e 75 25 21 33 36 20  20 20 20 20 3d 20 26 37  |enu%!36     = &7|
00000610  30 30 30 30 31 31 0d 02  8a 19 24 28 6d 65 6e 75  |000011....$(menu|
00000620  25 2b 34 30 29 20 20 3d  20 22 49 6e 66 6f 22 0d  |%+40)  = "Info".|
00000630  02 94 04 0d 02 9e 16 6d  65 6e 75 25 21 35 32 20  |.......menu%!52 |
00000640  20 20 20 20 3d 20 31 32  38 0d 02 a8 15 6d 65 6e  |    = 128....men|
00000650  75 25 21 35 36 20 20 20  20 20 3d 20 2d 31 0d 02  |u%!56     = -1..|
00000660  b2 1b 6d 65 6e 75 25 21  36 30 20 20 20 20 20 3d  |..menu%!60     =|
00000670  20 26 37 30 30 30 30 31  31 0d 02 bc 19 24 28 6d  | &7000011....$(m|
00000680  65 6e 75 25 2b 36 34 29  20 20 3d 20 22 51 75 69  |enu%+64)  = "Qui|
00000690  74 22 0d 02 c6 05 e1 0d  02 d0 04 0d 02 da 0b dd  |t"..............|
000006a0  20 f2 69 63 6f 6e 0d 02  e4 42 c8 99 20 22 57 69  | .icon...B.. "Wi|
000006b0  6d 70 45 78 74 5f 49 63  6f 6e 42 61 72 53 70 72  |mpExt_IconBarSpr|
000006c0  69 74 65 22 2c 2c 2c 2d  31 2c 22 21 4e 75 6d 43  |ite",,,-1,"!NumC|
000006d0  6f 6e 76 22 2c 2c 33 20  b8 20 69 63 6f 6e 62 61  |onv",,3 . iconba|
000006e0  72 68 61 6e 64 6c 65 25  0d 02 ee 05 e1 0d 02 f8  |rhandle%........|
000006f0  04 0d 03 02 12 dd 20 f2  75 73 65 72 6d 65 73 73  |...... .usermess|
00000700  61 67 65 0d 03 0c 18 e3  20 6d 65 73 73 61 67 65  |age..... message|
00000710  25 3d 30 b8 26 46 46 20  88 20 34 0d 03 16 28 6d  |%=0.&FF . 4...(m|
00000720  65 73 73 61 67 65 62 69  74 25 21 6d 65 73 73 61  |essagebit%!messa|
00000730  67 65 25 3d 63 68 75 6e  6b 25 21 6d 65 73 73 61  |ge%=chunk%!messa|
00000740  67 65 25 0d 03 20 05 ed  0d 03 2a 17 c8 8e 20 6d  |ge%.. ....*... m|
00000750  65 73 73 61 67 65 62 69  74 25 21 31 36 20 ca 0d  |essagebit%!16 ..|
00000760  03 34 17 c9 20 30 20 20  20 20 20 3a 20 f2 73 68  |.4.. 0     : .sh|
00000770  75 74 64 6f 77 6e 0d 03  3e 17 c9 20 26 30 30 35  |utdown..>.. &005|
00000780  30 32 3a 20 f2 73 65 6e  64 68 65 6c 70 0d 03 48  |02: .sendhelp..H|
00000790  05 cb 0d 03 52 05 e1 0d  03 5c 04 0d 03 66 0c dd  |....R....\...f..|
000007a0  20 f2 65 72 72 6f 72 0d  03 70 09 ee 20 85 20 87  | .error..p.. . .|
000007b0  0d 03 7a 0a c8 8e 20 9f  20 ca 0d 03 84 09 20 c9  |..z... . ..... .|
000007c0  20 32 30 0d 03 8e 62 20  20 c8 99 20 22 57 69 6d  | 20...b  .. "Wim|
000007d0  70 5f 52 65 70 6f 72 74  45 72 72 6f 72 22 2c 22  |p_ReportError","|
000007e0  00 00 00 00 54 68 65 20  6c 61 72 67 65 73 74 20  |....The largest |
000007f0  6e 75 6d 62 65 72 20 79  6f 75 20 63 61 6e 20 68  |number you can h|
00000800  61 76 65 20 69 73 20 32  31 34 37 34 38 33 36 34  |ave is 214748364|
00000810  37 2e 20 53 6f 72 72 79  22 2c 32 2c 22 4e 75 6d  |7. Sorry",2,"Num|
00000820  43 6f 6e 76 22 0d 03 98  0c 20 20 f2 63 6c 65 61  |Conv"....  .clea|
00000830  72 0d 03 a2 07 20 20 e1  0d 03 ac 09 20 c9 20 32  |r....  ..... . 2|
00000840  38 0d 03 b6 64 20 20 c8  99 20 22 57 69 6d 70 5f  |8...d  .. "Wimp_|
00000850  52 65 70 6f 72 74 45 72  72 6f 72 22 2c 22 00 00  |ReportError","..|
00000860  00 00 54 68 65 20 68 65  78 20 6c 61 72 67 65 73  |..The hex larges|
00000870  74 20 6e 75 6d 62 65 72  20 79 6f 75 20 63 61 6e  |t number you can|
00000880  20 68 61 76 65 20 69 73  20 37 46 46 46 46 46 46  | have is 7FFFFFF|
00000890  46 2e 20 53 6f 72 72 79  22 2c 32 2c 22 4e 75 6d  |F. Sorry",2,"Num|
000008a0  43 6f 6e 76 22 0d 03 c0  0c 20 20 f2 63 6c 65 61  |Conv"....  .clea|
000008b0  72 0d 03 ca 07 20 20 e1  0d 03 d4 05 cb 0d 03 de  |r....  .........|
000008c0  05 e1 0d 03 e8 46 c8 99  20 22 57 69 6d 70 5f 52  |.....F.. "Wimp_R|
000008d0  65 70 6f 72 74 45 72 72  6f 72 22 2c c4 34 2c bd  |eportError",.4,.|
000008e0  28 30 29 29 2b f6 24 2b  22 20 28 22 2b 28 c3 9e  |(0))+.$+" ("+(..|
000008f0  29 2b 22 29 2e 20 22 2b  28 c3 9f 29 2c 32 2c 22  |)+"). "+(..),2,"|
00000900  4e 75 6d 43 6f 6e 76 22  0d 03 f2 0d f2 73 68 75  |NumConv".....shu|
00000910  74 64 6f 77 6e 0d 03 fc  05 e1 0d 04 06 04 0d 04  |tdown...........|
00000920  10 0d dd 20 f2 72 65 64  72 61 77 0d 04 1a 23 c8  |... .redraw...#.|
00000930  99 20 22 57 69 6d 70 45  78 74 5f 41 75 74 6f 52  |. "WimpExt_AutoR|
00000940  65 64 72 61 77 22 2c 2c  63 68 75 6e 6b 25 0d 04  |edraw",,chunk%..|
00000950  24 05 e1 0d 04 2e 04 0d  04 38 13 dd 20 f2 6d 6f  |$........8.. .mo|
00000960  75 73 65 70 72 65 73 73  65 64 0d 04 42 14 e7 20  |usepressed..B.. |
00000970  63 68 75 6e 6b 25 21 31  32 3d 2d 32 20 8c 0d 04  |chunk%!12=-2 ...|
00000980  4c 12 20 c8 8e 20 63 68  75 6e 6b 25 21 38 20 ca  |L. .. chunk%!8 .|
00000990  0d 04 56 18 20 20 c9 20  34 3a 20 21 63 68 75 6e  |..V.  . 4: !chun|
000009a0  6b 25 3d 6d 61 69 6e 25  0d 04 60 2c 20 20 20 20  |k%=main%..`,    |
000009b0  20 20 20 20 c8 99 20 22  57 69 6d 70 5f 47 65 74  |    .. "Wimp_Get|
000009c0  57 69 6e 64 6f 77 53 74  61 74 65 22 2c 2c 63 68  |WindowState",,ch|
000009d0  75 6e 6b 25 0d 04 6a 2f  20 20 20 20 20 20 20 20  |unk%..j/        |
000009e0  c8 99 20 22 57 69 6d 70  45 78 74 5f 43 65 6e 74  |.. "WimpExt_Cent|
000009f0  72 65 57 69 6e 64 6f 77  22 2c 2c 63 68 75 6e 6b  |reWindow",,chunk|
00000a00  25 2b 34 0d 04 74 30 20  20 20 20 20 20 20 20 c8  |%+4..t0        .|
00000a10  99 20 22 57 69 6d 70 45  78 74 5f 43 65 6e 74 72  |. "WimpExt_Centr|
00000a20  65 57 69 6e 64 6f 77 56  22 2c 2c 63 68 75 6e 6b  |eWindowV",,chunk|
00000a30  25 2b 34 0d 04 7e 2b 20  20 20 20 20 20 20 20 c8  |%+4..~+        .|
00000a40  99 20 22 57 69 6d 70 45  78 74 5f 4f 70 65 6e 4c  |. "WimpExt_OpenL|
00000a50  69 6e 6b 65 64 22 2c 2c  63 68 75 6e 6b 25 0d 04  |inked",,chunk%..|
00000a60  88 0d 20 20 20 20 20 20  20 20 e1 0d 04 92 45 20  |..        ....E |
00000a70  20 c9 20 32 3a 20 c8 99  20 22 57 69 6d 70 5f 43  | . 2: .. "Wimp_C|
00000a80  72 65 61 74 65 4d 65 6e  75 22 2c 2c 6d 65 6e 75  |reateMenu",,menu|
00000a90  25 2c 28 63 68 75 6e 6b  25 21 30 29 2d 28 33 32  |%,(chunk%!0)-(32|
00000aa0  2b 6d 65 6e 75 25 21 31  36 29 2f 32 2c 31 37 36  |+menu%!16)/2,176|
00000ab0  0d 04 9c 06 20 cb 0d 04  a6 05 cd 0d 04 b0 04 0d  |.... ...........|
00000ac0  04 ba 25 e7 20 63 68 75  6e 6b 25 21 31 32 3d 6d  |..%. chunk%!12=m|
00000ad0  61 69 6e 25 20 80 20 63  68 75 6e 6b 25 21 38 3c  |ain% . chunk%!8<|
00000ae0  3e 32 20 8c 0d 04 c4 13  20 c8 8e 20 63 68 75 6e  |>2 ..... .. chun|
00000af0  6b 25 21 31 36 20 ca 0d  04 ce 0a 20 20 c9 20 31  |k%!16 .....  . 1|
00000b00  30 0d 04 d8 0d 20 20 20  f2 63 6c 65 61 72 0d 04  |0....   .clear..|
00000b10  e2 09 20 20 c9 20 39 0d  04 ec 11 20 20 20 f2 63  |..  . 9....   .c|
00000b20  61 6c 63 75 6c 61 74 65  0d 04 f6 06 20 cb 0d 05  |alculate.... ...|
00000b30  00 05 cd 0d 05 0a 05 e1  0d 05 14 04 0d 05 1e 14  |................|
00000b40  dd 20 f2 6d 65 6e 75 73  65 6c 65 63 74 69 6f 6e  |. .menuselection|
00000b50  0d 05 28 16 6d 65 6e 75  69 74 65 6d 25 3d 63 68  |..(.menuitem%=ch|
00000b60  75 6e 6b 25 21 30 0d 05  32 12 c8 8e 20 6d 65 6e  |unk%!0..2... men|
00000b70  75 69 74 65 6d 25 20 ca  0d 05 3c 13 c9 20 31 20  |uitem% ...<.. 1 |
00000b80  3a 20 f2 73 68 75 74 64  6f 77 6e 0d 05 46 05 cb  |: .shutdown..F..|
00000b90  0d 05 50 05 e1 0d 05 5a  04 0d 05 64 0f dd 20 f2  |..P....Z...d.. .|
00000ba0  73 68 75 74 64 6f 77 6e  0d 05 6e 20 c8 99 20 22  |shutdown..n .. "|
00000bb0  57 69 6d 70 45 78 74 5f  43 6c 6f 73 65 44 6f 77  |WimpExt_CloseDow|
00000bc0  6e 22 2c 74 61 73 6b 25  0d 05 78 27 c8 99 20 22  |n",task%..x'.. "|
00000bd0  57 69 6d 70 5f 43 6c 6f  73 65 44 6f 77 6e 22 2c  |Wimp_CloseDown",|
00000be0  74 61 73 6b 25 2c 26 34  42 35 33 34 31 35 34 0d  |task%,&4B534154.|
00000bf0  05 82 05 e0 0d 05 8c 05  e1 0d 05 96 04 0d 05 a0  |................|
00000c00  0f dd 20 f2 73 65 6e 64  68 65 6c 70 0d 05 aa 15  |.. .sendhelp....|
00000c10  68 65 6c 70 24 20 3d 20  22 4e 75 6d 43 6f 6e 76  |help$ = "NumConv|
00000c20  22 0d 05 b4 17 c8 8e 20  6d 65 73 73 61 67 65 62  |"...... messageb|
00000c30  69 74 25 21 33 32 20 ca  0d 05 be 3d 20 c9 20 69  |it%!32 ....= . i|
00000c40  6e 66 6f 25 20 3a 20 68  65 6c 70 24 3d 22 54 68  |nfo% : help$="Th|
00000c50  69 73 20 69 73 20 74 68  65 20 4e 75 6d 43 6f 6e  |is is the NumCon|
00000c60  76 20 69 6e 66 6f 72 6d  61 74 69 6f 6e 20 77 69  |v information wi|
00000c70  6e 64 6f 77 22 0d 05 c8  7d 20 c9 20 2d 32 20 3a  |ndow"...} . -2 :|
00000c80  20 68 65 6c 70 24 3d 22  54 68 69 73 20 69 73 20  | help$="This is |
00000c90  74 68 65 20 4e 75 6d 43  6f 6e 76 20 69 63 6f 6e  |the NumConv icon|
00000ca0  2e 20 43 6c 69 63 6b 20  53 65 6c 65 63 74 20 6f  |. Click Select o|
00000cb0  6e 20 69 74 20 74 6f 20  62 72 69 6e 67 20 75 70  |n it to bring up|
00000cc0  20 74 68 65 20 6d 61 69  6e 20 77 69 6e 64 6f 77  | the main window|
00000cd0  2c 20 7c 4d 61 6e 64 20  6d 65 6e 75 20 74 6f 20  |, |Mand menu to |
00000ce0  62 72 69 6e 67 20 75 70  20 74 68 65 20 6d 65 6e  |bring up the men|
00000cf0  75 22 0d 05 d2 8f 20 c9  20 6d 61 69 6e 25 20 3a  |u".... . main% :|
00000d00  20 68 65 6c 70 24 3d 22  54 68 69 73 20 69 73 20  | help$="This is |
00000d10  74 68 65 20 63 6f 6e 76  65 72 74 65 72 20 77 69  |the converter wi|
00000d20  6e 64 6f 77 2e 20 46 6f  72 20 66 75 6c 6c 20 69  |ndow. For full i|
00000d30  6e 66 6f 72 6d 61 74 69  6f 6e 20 72 65 61 64 20  |nformation read |
00000d40  74 68 65 20 21 48 65 6c  70 20 66 69 6c 65 20 6f  |the !Help file o|
00000d50  72 20 70 6f 73 69 74 69  6f 6e 20 74 68 65 20 70  |r position the p|
00000d60  6f 69 6e 74 65 72 20 6f  76 65 72 20 74 68 65 20  |ointer over the |
00000d70  61 70 70 72 6f 70 72 69  61 74 65 20 69 63 6f 6e  |appropriate icon|
00000d80  22 0d 05 dc 19 20 20 c8  8e 20 6d 65 73 73 61 67  |"....  .. messag|
00000d90  65 62 69 74 25 21 33 36  20 ca 0d 05 e6 57 20 20  |ebit%!36 ....W  |
00000da0  20 c9 20 33 20 3a 20 68  65 6c 70 24 3d 22 53 65  | . 3 : help$="Se|
00000db0  6c 65 63 74 20 74 68 69  73 20 69 63 6f 6e 20 74  |lect this icon t|
00000dc0  6f 20 63 6f 6e 76 65 72  74 20 66 72 6f 6d 20 42  |o convert from B|
00000dd0  69 6e 61 72 79 20 74 6f  20 44 65 63 69 6d 61 6c  |inary to Decimal|
00000de0  20 61 6e 64 20 48 65 78  61 64 65 63 69 6d 61 6c  | and Hexadecimal|
00000df0  22 0d 05 f0 57 20 20 20  c9 20 35 20 3a 20 68 65  |"...W   . 5 : he|
00000e00  6c 70 24 3d 22 53 65 6c  65 63 74 20 74 68 69 73  |lp$="Select this|
00000e10  20 69 63 6f 6e 20 74 6f  20 63 6f 6e 76 65 72 74  | icon to convert|
00000e20  20 66 72 6f 6d 20 44 65  63 69 6d 61 6c 20 74 6f  | from Decimal to|
00000e30  20 42 69 6e 61 72 79 20  61 6e 64 20 48 65 78 61  | Binary and Hexa|
00000e40  64 65 63 69 6d 61 6c 22  0d 05 fa 57 20 20 20 c9  |decimal"...W   .|
00000e50  20 34 20 3a 20 68 65 6c  70 24 3d 22 53 65 6c 65  | 4 : help$="Sele|
00000e60  63 74 20 74 68 69 73 20  69 63 6f 6e 20 74 6f 20  |ct this icon to |
00000e70  63 6f 6e 76 65 72 74 20  66 72 6f 6d 20 48 65 78  |convert from Hex|
00000e80  61 64 65 63 69 6d 61 6c  20 74 6f 20 42 69 6e 61  |adecimal to Bina|
00000e90  72 79 20 61 6e 64 20 44  65 63 69 6d 61 6c 22 0d  |ry and Decimal".|
00000ea0  06 04 45 20 20 20 c9 20  36 20 3a 20 68 65 6c 70  |..E   . 6 : help|
00000eb0  24 3d 22 49 6e 73 65 72  74 20 74 68 65 20 42 69  |$="Insert the Bi|
00000ec0  6e 61 72 79 20 6e 75 6d  62 65 72 20 74 6f 20 62  |nary number to b|
00000ed0  65 20 63 6f 6e 76 65 72  74 65 64 20 69 6e 20 68  |e converted in h|
00000ee0  65 72 65 22 0d 06 0e 46  20 20 20 c9 20 37 20 3a  |ere"...F   . 7 :|
00000ef0  20 68 65 6c 70 24 3d 22  49 6e 73 65 72 74 20 74  | help$="Insert t|
00000f00  68 65 20 44 65 63 69 6d  61 6c 20 6e 75 6d 62 65  |he Decimal numbe|
00000f10  72 20 74 6f 20 62 65 20  63 6f 6e 76 65 72 74 65  |r to be converte|
00000f20  64 20 69 6e 20 68 65 72  65 22 0d 06 18 4a 20 20  |d in here"...J  |
00000f30  20 c9 20 38 20 3a 20 68  65 6c 70 24 3d 22 49 6e  | . 8 : help$="In|
00000f40  73 65 72 74 20 74 68 65  20 48 65 78 61 64 65 63  |sert the Hexadec|
00000f50  69 6d 61 6c 20 6e 75 6d  62 65 72 20 74 6f 20 62  |imal number to b|
00000f60  65 20 63 6f 6e 76 65 72  74 65 64 20 69 6e 20 68  |e converted in h|
00000f70  65 72 65 22 0d 06 22 41  20 20 20 c9 20 31 30 20  |ere".."A   . 10 |
00000f80  3a 20 68 65 6c 70 24 3d  22 43 6c 69 63 6b 20 6f  |: help$="Click o|
00000f90  6e 20 74 68 69 73 20 69  63 6f 6e 20 74 6f 20 63  |n this icon to c|
00000fa0  6c 65 61 72 20 61 6c 6c  20 74 68 65 20 6e 75 6d  |lear all the num|
00000fb0  62 65 72 73 22 0d 06 2c  78 20 20 20 c9 20 39 20  |bers"..,x   . 9 |
00000fc0  3a 20 68 65 6c 70 24 3d  22 43 6c 69 63 6b 20 6f  |: help$="Click o|
00000fd0  6e 20 74 68 69 73 20 69  63 6f 6e 20 74 6f 20 63  |n this icon to c|
00000fe0  61 6c 63 75 6c 61 74 65  20 74 68 65 20 62 69 6e  |alculate the bin|
00000ff0  61 72 79 2c 64 65 63 69  6d 61 6c 20 6f 72 20 68  |ary,decimal or h|
00001000  65 78 61 64 65 63 69 6d  61 6c 20 6e 75 6d 62 65  |exadecimal numbe|
00001010  72 7c 4d 20 69 6e 74 6f  20 74 68 65 20 6f 74 68  |r|M into the oth|
00001020  65 72 20 74 77 6f 20 74  79 70 65 73 22 0d 06 36  |er two types"..6|
00001030  07 20 20 cb 0d 06 40 06  20 cb 0d 06 4a 13 63 68  |.  ...@. ...J.ch|
00001040  75 6e 6b 25 21 30 30 20  3d 20 32 35 36 0d 06 54  |unk%!00 = 256..T|
00001050  1d 63 68 75 6e 6b 25 21  31 32 20 3d 20 6d 65 73  |.chunk%!12 = mes|
00001060  73 61 67 65 62 69 74 25  21 38 0d 06 5e 15 63 68  |sagebit%!8..^.ch|
00001070  75 6e 6b 25 21 31 36 20  3d 20 26 30 35 30 33 0d  |unk%!16 = &0503.|
00001080  06 68 17 24 28 63 68 75  6e 6b 25 2b 32 30 29 3d  |.h.$(chunk%+20)=|
00001090  20 68 65 6c 70 24 0d 06  72 2c c8 99 20 22 57 69  | help$..r,.. "Wi|
000010a0  6d 70 5f 53 65 6e 64 4d  65 73 73 61 67 65 22 2c  |mp_SendMessage",|
000010b0  31 37 2c 63 68 75 6e 6b  25 2c 63 68 75 6e 6b 25  |17,chunk%,chunk%|
000010c0  21 34 0d 06 7c 05 e1 0d  06 86 04 0d 06 90 0b dd  |!4..|...........|
000010d0  20 f2 6e 75 6c 6c 0d 06  9a 12 e7 20 62 61 6e 6e  | .null..... bann|
000010e0  65 72 3d b9 20 8c 20 e1  0d 06 a4 10 e3 20 64 6f  |er=. . ...... do|
000010f0  74 3d 30 20 b8 20 34 35  0d 06 ae 35 c8 99 20 22  |t=0 . 45...5.. "|
00001100  57 69 6d 70 45 78 74 5f  53 65 74 49 63 6f 6e 53  |WimpExt_SetIconS|
00001110  74 72 69 6e 67 4e 22 2c  2c 2c 62 61 6e 6e 65 72  |tringN",,,banner|
00001120  25 2c 31 2c c4 64 6f 74  2c 22 2e 22 29 0d 06 b8  |%,1,.dot,".")...|
00001130  09 6f 6c 64 3d 91 0d 06  c2 05 f5 0d 06 cc 0f fd  |.old=...........|
00001140  20 28 91 2d 6f 6c 64 29  3e 36 0d 06 d6 05 ed 0d  | (.-old)>6......|
00001150  06 e0 24 c8 99 20 22 57  69 6d 70 45 78 74 5f 43  |..$.. "WimpExt_C|
00001160  6c 6f 73 65 4c 69 6e 6b  65 64 22 2c 2c 63 68 75  |loseLinked",,chu|
00001170  6e 6b 25 0d 06 ea 0c 62  61 6e 6e 65 72 3d b9 0d  |nk%....banner=..|
00001180  06 f4 18 c8 99 20 22 48  6f 75 72 67 6c 61 73 73  |..... "Hourglass|
00001190  5f 53 6d 61 73 68 22 0d  06 fe 05 e1 0d 07 08 04  |_Smash".........|
000011a0  0d 07 12 0d dd 20 f2 62  61 6e 6e 65 72 0d 07 1c  |..... .banner...|
000011b0  0c 62 61 6e 6e 65 72 3d  a3 0d 07 26 15 c8 99 20  |.banner=...&... |
000011c0  22 48 6f 75 72 67 6c 61  73 73 5f 4f 6e 22 0d 07  |"Hourglass_On"..|
000011d0  30 13 21 63 68 75 6e 6b  25 3d 62 61 6e 6e 65 72  |0.!chunk%=banner|
000011e0  25 0d 07 3a 24 c8 99 20  22 57 69 6d 70 5f 47 65  |%..:$.. "Wimp_Ge|
000011f0  74 57 69 6e 64 6f 77 53  74 61 74 65 22 2c 2c 63  |tWindowState",,c|
00001200  68 75 6e 6b 25 0d 07 44  27 c8 99 20 22 57 69 6d  |hunk%..D'.. "Wim|
00001210  70 45 78 74 5f 43 65 6e  74 72 65 57 69 6e 64 6f  |pExt_CentreWindo|
00001220  77 22 2c 2c 63 68 75 6e  6b 25 2b 34 0d 07 4e 28  |w",,chunk%+4..N(|
00001230  c8 99 20 22 57 69 6d 70  45 78 74 5f 43 65 6e 74  |.. "WimpExt_Cent|
00001240  72 65 57 69 6e 64 6f 77  56 22 2c 2c 63 68 75 6e  |reWindowV",,chun|
00001250  6b 25 2b 34 0d 07 58 23  c8 99 20 22 57 69 6d 70  |k%+4..X#.. "Wimp|
00001260  45 78 74 5f 4f 70 65 6e  4c 69 6e 6b 65 64 22 2c  |Ext_OpenLinked",|
00001270  2c 63 68 75 6e 6b 25 0d  07 62 05 e1 0d 07 6c 04  |,chunk%..b....l.|
00001280  0d 07 76 0c dd 20 f2 63  6c 65 61 72 0d 07 80 2c  |..v.. .clear...,|
00001290  c8 99 20 22 57 69 6d 70  45 78 74 5f 53 65 74 49  |.. "WimpExt_SetI|
000012a0  63 6f 6e 53 74 72 69 6e  67 4e 22 2c 2c 2c 6d 61  |conStringN",,,ma|
000012b0  69 6e 25 2c 36 2c 22 22  0d 07 8a 2c c8 99 20 22  |in%,6,""...,.. "|
000012c0  57 69 6d 70 45 78 74 5f  53 65 74 49 63 6f 6e 53  |WimpExt_SetIconS|
000012d0  74 72 69 6e 67 4e 22 2c  2c 2c 6d 61 69 6e 25 2c  |tringN",,,main%,|
000012e0  37 2c 22 22 0d 07 94 2c  c8 99 20 22 57 69 6d 70  |7,""...,.. "Wimp|
000012f0  45 78 74 5f 53 65 74 49  63 6f 6e 53 74 72 69 6e  |Ext_SetIconStrin|
00001300  67 4e 22 2c 2c 2c 6d 61  69 6e 25 2c 38 2c 22 22  |gN",,,main%,8,""|
00001310  0d 07 9e 05 e1 0d 07 a8  04 0d 07 b2 10 dd 20 f2  |.............. .|
00001320  63 61 6c 63 75 6c 61 74  65 0d 07 bc 0d 69 6e 70  |calculate....inp|
00001330  75 74 24 3d 22 22 0d 07  c6 28 c8 99 20 22 57 69  |ut$=""...(.. "Wi|
00001340  6d 70 45 78 74 5f 47 65  74 49 63 6f 6e 22 2c 2c  |mpExt_GetIcon",,|
00001350  2c 6d 61 69 6e 25 2c 33  20 b8 20 73 65 6c 0d 07  |,main%,3 . sel..|
00001360  d0 25 e7 20 73 65 6c 3d  31 20 8c 20 69 6e 70 75  |.%. sel=1 . inpu|
00001370  74 24 3d 22 42 69 6e 61  72 79 22 20 8b 20 73 65  |t$="Binary" . se|
00001380  6c 3d 30 0d 07 da 28 c8  99 20 22 57 69 6d 70 45  |l=0...(.. "WimpE|
00001390  78 74 5f 47 65 74 49 63  6f 6e 22 2c 2c 2c 6d 61  |xt_GetIcon",,,ma|
000013a0  69 6e 25 2c 35 20 b8 20  73 65 6c 0d 07 e4 26 e7  |in%,5 . sel...&.|
000013b0  20 73 65 6c 3d 31 20 8c  20 69 6e 70 75 74 24 3d  | sel=1 . input$=|
000013c0  22 44 65 63 69 6d 61 6c  22 20 8b 20 73 65 6c 3d  |"Decimal" . sel=|
000013d0  30 0d 07 ee 28 c8 99 20  22 57 69 6d 70 45 78 74  |0...(.. "WimpExt|
000013e0  5f 47 65 74 49 63 6f 6e  22 2c 2c 2c 6d 61 69 6e  |_GetIcon",,,main|
000013f0  25 2c 34 20 b8 20 73 65  6c 0d 07 f8 2a e7 20 73  |%,4 . sel...*. s|
00001400  65 6c 3d 31 20 8c 20 69  6e 70 75 74 24 3d 22 48  |el=1 . input$="H|
00001410  65 78 61 64 65 63 69 6d  61 6c 22 20 8b 20 73 65  |exadecimal" . se|
00001420  6c 3d 30 0d 08 02 04 0d  08 0c 0f c8 8e 20 69 6e  |l=0.......... in|
00001430  70 75 74 24 20 ca 0d 08  16 0f 20 c9 20 22 42 69  |put$ ..... . "Bi|
00001440  6e 61 72 79 22 0d 08 20  31 20 20 c8 99 20 22 57  |nary".. 1  .. "W|
00001450  69 6d 70 45 78 74 5f 47  65 74 49 63 6f 6e 22 2c  |impExt_GetIcon",|
00001460  2c 2c 6d 61 69 6e 25 2c  36 20 b8 20 2c 2c 2c 6e  |,,main%,6 . ,,,n|
00001470  75 6d 62 65 72 24 0d 08  2a 16 20 20 e7 20 6e 75  |umber$..*.  . nu|
00001480  6d 62 65 72 24 3d 22 22  20 8c 20 e1 0d 08 34 16  |mber$="" . ...4.|
00001490  20 20 24 63 6f 6e 76 65  72 74 3d 6e 75 6d 62 65  |  $convert=numbe|
000014a0  72 24 0d 08 3e 30 20 20  c8 99 20 22 4f 53 5f 52  |r$..>0  .. "OS_R|
000014b0  65 61 64 55 6e 73 69 67  6e 65 64 22 2c 32 2c 63  |eadUnsigned",2,c|
000014c0  6f 6e 76 65 72 74 20 b8  20 2c 2c 64 65 63 69 6d  |onvert . ,,decim|
000014d0  61 6c 0d 08 48 36 20 20  c8 99 20 22 57 69 6d 70  |al..H6  .. "Wimp|
000014e0  45 78 74 5f 53 65 74 49  63 6f 6e 53 74 72 69 6e  |Ext_SetIconStrin|
000014f0  67 4e 22 2c 2c 2c 6d 61  69 6e 25 2c 37 2c c3 28  |gN",,,main%,7,.(|
00001500  64 65 63 69 6d 61 6c 29  0d 08 52 2c 20 20 c8 99  |decimal)..R,  ..|
00001510  20 22 4f 53 5f 52 65 61  64 55 6e 73 69 67 6e 65  | "OS_ReadUnsigne|
00001520  64 22 2c 32 2c 63 6f 6e  76 65 72 74 20 b8 20 2c  |d",2,convert . ,|
00001530  2c 68 65 78 0d 08 5c 33  20 20 c8 99 20 22 57 69  |,hex..\3  .. "Wi|
00001540  6d 70 45 78 74 5f 53 65  74 49 63 6f 6e 53 74 72  |mpExt_SetIconStr|
00001550  69 6e 67 4e 22 2c 2c 2c  6d 61 69 6e 25 2c 38 2c  |ingN",,,main%,8,|
00001560  c3 7e 28 68 65 78 29 0d  08 66 04 0d 08 70 10 20  |.~(hex)..f...p. |
00001570  c9 20 22 44 65 63 69 6d  61 6c 22 0d 08 7a 31 20  |. "Decimal"..z1 |
00001580  20 c8 99 20 22 57 69 6d  70 45 78 74 5f 47 65 74  | .. "WimpExt_Get|
00001590  49 63 6f 6e 22 2c 2c 2c  6d 61 69 6e 25 2c 37 20  |Icon",,,main%,7 |
000015a0  b8 20 2c 2c 2c 6e 75 6d  62 65 72 24 0d 08 84 16  |. ,,,number$....|
000015b0  20 20 e7 20 6e 75 6d 62  65 72 24 3d 22 22 20 8c  |  . number$="" .|
000015c0  20 e1 0d 08 8e 3c 20 20  c8 99 22 4f 53 5f 43 6f  | ....<  .."OS_Co|
000015d0  6e 76 65 72 74 42 69 6e  61 72 79 34 22 2c a0 28  |nvertBinary4",.(|
000015e0  6e 75 6d 62 65 72 24 29  2c 63 6f 6e 76 65 72 74  |number$),convert|
000015f0  2c 31 30 30 20 b8 20 62  69 6e 61 72 79 24 0d 08  |,100 . binary$..|
00001600  98 07 20 20 f5 0d 08 a2  1c 20 20 20 e7 20 c0 62  |..  .....   . .b|
00001610  69 6e 61 72 79 24 2c 31  29 20 3d 20 22 30 22 20  |inary$,1) = "0" |
00001620  8c 0d 08 ac 1b 20 20 20  20 6e 65 77 6c 65 6e 3d  |.....    newlen=|
00001630  a9 28 62 69 6e 61 72 79  24 29 2d 31 0d 08 b6 20  |.(binary$)-1... |
00001640  20 20 20 20 62 69 6e 61  72 79 24 3d c2 62 69 6e  |    binary$=.bin|
00001650  61 72 79 24 2c 6e 65 77  6c 65 6e 29 0d 08 c0 0d  |ary$,newlen)....|
00001660  20 20 20 20 65 6e 64 3d  a3 0d 08 ca 08 20 20 20  |    end=.....   |
00001670  cc 0d 08 d4 0d 20 20 20  20 65 6e 64 3d b9 0d 08  |.....    end=...|
00001680  de 08 20 20 20 cd 0d 08  e8 0d 20 20 fd 20 65 6e  |..   .....  . en|
00001690  64 3d b9 0d 08 f2 33 20  20 c8 99 20 22 57 69 6d  |d=....3  .. "Wim|
000016a0  70 45 78 74 5f 53 65 74  49 63 6f 6e 53 74 72 69  |pExt_SetIconStri|
000016b0  6e 67 4e 22 2c 2c 2c 6d  61 69 6e 25 2c 36 2c 62  |ngN",,,main%,6,b|
000016c0  69 6e 61 72 79 24 0d 08  fc 16 20 20 24 63 6f 6e  |inary$....  $con|
000016d0  76 65 72 74 3d 6e 75 6d  62 65 72 24 0d 09 06 2c  |vert=number$...,|
000016e0  20 20 c8 99 22 4f 53 5f  52 65 61 64 55 6e 73 69  |  .."OS_ReadUnsi|
000016f0  67 6e 65 64 22 2c 31 30  2c 63 6f 6e 76 65 72 74  |gned",10,convert|
00001700  20 b8 20 2c 2c 68 65 78  0d 09 10 33 20 20 c8 99  | . ,,hex...3  ..|
00001710  20 22 57 69 6d 70 45 78  74 5f 53 65 74 49 63 6f  | "WimpExt_SetIco|
00001720  6e 53 74 72 69 6e 67 4e  22 2c 2c 2c 6d 61 69 6e  |nStringN",,,main|
00001730  25 2c 38 2c c3 7e 28 68  65 78 29 0d 09 1a 04 0d  |%,8,.~(hex).....|
00001740  09 24 14 20 c9 20 22 48  65 78 61 64 65 63 69 6d  |.$. . "Hexadecim|
00001750  61 6c 22 0d 09 2e 31 20  20 c8 99 20 22 57 69 6d  |al"...1  .. "Wim|
00001760  70 45 78 74 5f 47 65 74  49 63 6f 6e 22 2c 2c 2c  |pExt_GetIcon",,,|
00001770  6d 61 69 6e 25 2c 38 20  b8 20 2c 2c 2c 6e 75 6d  |main%,8 . ,,,num|
00001780  62 65 72 24 0d 09 38 16  20 20 e7 20 6e 75 6d 62  |ber$..8.  . numb|
00001790  65 72 24 3d 22 22 20 8c  20 e1 0d 09 42 40 20 20  |er$="" . ...B@  |
000017a0  c8 99 22 4f 53 5f 43 6f  6e 76 65 72 74 42 69 6e  |.."OS_ConvertBin|
000017b0  61 72 79 34 22 2c a0 28  22 26 22 2b 6e 75 6d 62  |ary4",.("&"+numb|
000017c0  65 72 24 29 2c 63 6f 6e  76 65 72 74 2c 31 30 30  |er$),convert,100|
000017d0  20 b8 20 62 69 6e 61 72  79 24 0d 09 4c 07 20 20  | . binary$..L.  |
000017e0  f5 0d 09 56 1c 20 20 20  e7 20 c0 62 69 6e 61 72  |...V.   . .binar|
000017f0  79 24 2c 31 29 20 3d 20  22 30 22 20 8c 0d 09 60  |y$,1) = "0" ...`|
00001800  1b 20 20 20 20 6e 65 77  6c 65 6e 3d a9 28 62 69  |.    newlen=.(bi|
00001810  6e 61 72 79 24 29 2d 31  0d 09 6a 20 20 20 20 20  |nary$)-1..j     |
00001820  62 69 6e 61 72 79 24 3d  c2 62 69 6e 61 72 79 24  |binary$=.binary$|
00001830  2c 6e 65 77 6c 65 6e 29  0d 09 74 0d 20 20 20 20  |,newlen)..t.    |
00001840  65 6e 64 3d a3 0d 09 7e  08 20 20 20 cc 0d 09 88  |end=...~.   ....|
00001850  0d 20 20 20 20 65 6e 64  3d b9 0d 09 92 08 20 20  |.    end=.....  |
00001860  20 cd 0d 09 9c 0d 20 20  fd 20 65 6e 64 3d b9 0d  | .....  . end=..|
00001870  09 a6 33 20 20 c8 99 20  22 57 69 6d 70 45 78 74  |..3  .. "WimpExt|
00001880  5f 53 65 74 49 63 6f 6e  53 74 72 69 6e 67 4e 22  |_SetIconStringN"|
00001890  2c 2c 2c 6d 61 69 6e 25  2c 36 2c 62 69 6e 61 72  |,,,main%,6,binar|
000018a0  79 24 0d 09 b0 1f 20 20  e3 20 42 44 3d 63 6f 6e  |y$....  . BD=con|
000018b0  76 65 72 74 20 b8 20 63  6f 6e 76 65 72 74 2b 39  |vert . convert+9|
000018c0  39 0d 09 ba 0c 20 20 3f  42 44 3d 26 44 0d 09 c4  |9....  ?BD=&D...|
000018d0  0a 20 20 ed 20 42 44 0d  09 ce 37 20 20 c8 99 22  |.  . BD...7  .."|
000018e0  4f 53 5f 42 69 6e 61 72  79 54 6f 44 65 63 69 6d  |OS_BinaryToDecim|
000018f0  61 6c 22 2c a0 28 22 26  22 2b 6e 75 6d 62 65 72  |al",.("&"+number|
00001900  24 29 2c 63 6f 6e 76 65  72 74 2c 31 30 30 0d 09  |$),convert,100..|
00001910  d8 17 20 20 64 65 63 69  6d 61 6c 24 3d 24 63 6f  |..  decimal$=$co|
00001920  6e 76 65 72 74 0d 09 e2  34 20 20 c8 99 20 22 57  |nvert...4  .. "W|
00001930  69 6d 70 45 78 74 5f 53  65 74 49 63 6f 6e 53 74  |impExt_SetIconSt|
00001940  72 69 6e 67 4e 22 2c 2c  2c 6d 61 69 6e 25 2c 37  |ringN",,,main%,7|
00001950  2c 64 65 63 69 6d 61 6c  24 0d 09 ec 05 cb 0d 09  |,decimal$.......|
00001960  f6 05 e1 0d 0a 00 04 0d  0a 0a 05 f4 0d 0a 14 04  |................|
00001970  0d 0a 1e 46 c8 99 20 22  4d 65 73 73 61 67 65 54  |...F.. "MessageT|
00001980  72 61 6e 73 5f 46 69 6c  65 49 6e 66 6f 22 2c 2c  |rans_FileInfo",,|
00001990  22 3c 4e 75 6d 43 6f 6e  76 24 44 69 72 3e 2e 4d  |"<NumConv$Dir>.M|
000019a0  65 73 73 61 67 65 73 22  20 b8 20 66 6c 61 67 25  |essages" . flag%|
000019b0  2c 2c 6c 65 6e 25 0d 0a  28 29 e7 20 66 6c 61 67  |,,len%..(). flag|
000019c0  25 20 80 20 31 20 6c 65  6e 25 3d 30 3a 6d 65 6d  |% . 1 len%=0:mem|
000019d0  25 3d 30 20 8b 20 6d 65  6d 25 3d 6d 65 6d 25 0d  |%=0 . mem%=mem%.|
000019e0  0a 32 2a e7 20 6c 65 6e  25 3e 32 30 34 38 20 85  |.2*. len%>2048 .|
000019f0  20 31 2c 22 50 6c 65 61  73 65 20 69 6e 63 72 65  | 1,"Please incre|
00001a00  61 73 65 20 32 30 34 38  22 0d 0a 3c 48 c8 99 20  |ase 2048"..<H.. |
00001a10  22 4d 65 73 73 61 67 65  54 72 61 6e 73 5f 4f 70  |"MessageTrans_Op|
00001a20  65 6e 46 69 6c 65 22 2c  64 65 73 63 72 69 70 74  |enFile",descript|
00001a30  65 72 25 2c 22 3c 4e 75  6d 43 6f 6e 76 24 44 69  |er%,"<NumConv$Di|
00001a40  72 3e 2e 4d 65 73 73 61  67 65 73 22 2c 6d 65 6d  |r>.Messages",mem|
00001a50  25 0d 0a 46 23 f1 20 a4  6d 65 73 73 61 67 65 28  |%..F#. .message(|
00001a60  64 65 73 63 72 69 70 74  65 72 25 2c 22 43 6f 70  |descripter%,"Cop|
00001a70  79 52 22 29 0d 0a 50 23  f1 20 a4 6d 65 73 73 61  |yR")..P#. .messa|
00001a80  67 65 28 64 65 73 63 72  69 70 74 65 72 25 2c 22  |ge(descripter%,"|
00001a90  56 72 73 69 6e 22 29 0d  0a 5a 2b c8 99 20 22 4d  |Vrsin")..Z+.. "M|
00001aa0  65 73 73 61 67 65 54 72  61 6e 73 5f 43 6c 6f 73  |essageTrans_Clos|
00001ab0  65 46 69 6c 65 22 2c 64  65 73 63 72 69 70 74 65  |eFile",descripte|
00001ac0  72 25 0d 0a 64 04 0d 0a  6e 37 f4 20 53 59 53 20  |r%..d...n7. SYS |
00001ad0  22 57 69 6d 70 45 78 74  5f 53 65 74 49 63 6f 6e  |"WimpExt_SetIcon|
00001ae0  53 74 72 69 6e 67 4e 22  2c 2c 2c 69 6e 66 6f 25  |StringN",,,info%|
00001af0  2c 37 2c 63 6f 70 79 72  69 67 68 74 24 0d 0a 78  |,7,copyright$..x|
00001b00  35 f4 20 53 59 53 20 22  57 69 6d 70 45 78 74 5f  |5. SYS "WimpExt_|
00001b10  53 65 74 49 63 6f 6e 53  74 72 69 6e 67 4e 22 2c  |SetIconStringN",|
00001b20  2c 2c 69 6e 66 6f 25 2c  38 2c 76 65 72 73 69 6f  |,,info%,8,versio|
00001b30  6e 24 0d ff                                       |n$..|
00001b34