Home » Archimedes archive » Acorn User » AU 1997-02 B.adf » Regulars » StarInfo/Rawle/!SwiConv/!RunImage
StarInfo/Rawle/!SwiConv/!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 » AU 1997-02 B.adf » Regulars |
Filename: | StarInfo/Rawle/!SwiConv/!RunImage |
Read OK: | ✔ |
File size: | 17BB bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
Jonathan Rawle, August 1996 Disc contents ------------- Saviour - This is the latest version of Saviour (which is due for 1.03 publication next January). It contains a few minor alterations and improvements over version 1.00. BrickBall- A bat and ball game with some unusual features (see !Help file). Makes use of the QTM music player which appeared in Acorn User a couple of years age. A blank high-score table is also included on the disc. (Simply copy over the old one to clear any scores). This should not be distributed with BrickBall. SwiConv - Converts SWIs from text to numbers and vice versa. Also takes whole BASIC programs and converts all of the SWIs in them automatically. Utilis - Desktop utility. Provides: * Clock and alarm facility * Allows notes to be attached to applications * Extra 'filer' icons on the iconbar * Setting the CSD, iconsprites, examining squash files etc. * Application launcher * Movement of pointer by cursor keys Maze - Game based on the board game Labyrinth from Ravensburger games. (I'm still not sure if this infringes their copyright.) Instructions are included in the help file. TempDir - A directory for temporary files, which is automatically wiped when the application is started. This is meant as an alternative to the RamDisc. It also provides a quick method for setting the CSD etc. See the help file for details. This application has really been superceeded by Utilis. HighScores Blank score table for BrickBall, as described above. All programs have further information in their !Help files. Thank you for your interest in my work. Jonathan Rawle tr%+=24 :�flg% � 128 D� N��cl(win%,icon%,but%) XȎwin%� b�w% l �but%=2 � v'ș"Wimp_CreateMenu",,m%,!b%-64,b%!4 �� � Ȏicon% � �6�5:ș"Wimp_GetCaretPosition",,b%:�!b%=w%:�do(b%!4) ��6,7:�arrow(icon%,but%) �� �� � �con% �Ȏbut% � �*�2:ș"Wimp_CreateMenu",,m%,!b%-64,b%!4 � � Ȏicon% � ��6:�but%�64:�drag �)�19:!b%=con%:ș"Wimp_CloseWindow",,b% 9�20:�docon:�done%=�:!b%=con%:ș"Wimp_CloseWindow",,b% � � ?�-2:�but%=2:ș"Wimp_CreateMenu",,m%,!b%-64,184:��openwindow *� 4� >��ms Hms%=!b% Rș"Wimp_GetPointerInfo",,b% \ but%=b%!8 f Ȏms%� p�1:q%=� z� �'�but%=1:ș"Wimp_CreateMenu",,m%,0,0 �� ���key(win%,icon%,key%) �f�win%=con%�key%=13:�sel(con%,20):�docon:�desel(con%,20):�done%=�:!b%=con%:ș"Wimp_CloseWindow",,b% �(�win%<>w%:ș"Wimp_ProcessKey",key%:� �Ȏkey%� ��13:sel%=�:�do(icon%) ��&18E:�icon%=1:�caret(w%,3) ��icon%=3:�caret(w%,4) ��icon%=4:�caret(w%,1) ��&18F:�icon%=1:�caret(w%,4) ��icon%=3:�caret(w%,1) ��icon%=4:�caret(w%,3) :ș"Wimp_ProcessKey",key% � � $��do(icon%):�sw%,sn% .�sel%:�sel(w%,5) 8Ȏicon%� B/�1:sn%=�(�read(w%,1)):�tj(w%,3,"&"+�~(sn%)) LT�3:�read(w%,3),1)<>"&"��(�read(w%,3))<7:�tj(w%,3,"&"+�read(w%,3)):�caret(w%,3) V'sn%=�(�read(w%,3)):�tj(w%,1,�(sn%)) `S�4:ș"OS_SWINumberFromString",,si% � sw%:�tj(w%,1,�(sw%)):�tj(w%,3,"&"+�~(sw%)) j� ti�icon%=1�icon%=3:sn%=�(�read(w%,1)):ș"OS_SWINumberToString",sn%,bu%,127:$bu%=�sg(bu%):�tj(w%,4,$bu%) ~�sel%:�desel(w%,5):sel%=� �� �4ݤsg(pr%):�a$:ȕ?pr%<>0:a$+=�(?pr%):pr%+=1:�:=a$ ���openwf(win%,x%,y%) ��xmin%,ymin%,xmax%,ymax% ��!b%=win%:ș"Wimp_GetWindowInfo",,b%:xmin%=b%!4:ymin%=b%!8:xmax%=b%!12:ymax%=b%!16:ș"Wimp_GetWindowState",,b%:b%!4=x%:b%!8=y%:b%!12=x%+xmax%-xmin%:b%!16=y%+ymax%-ymin%:b%!28=-1:ș"Wimp_OpenWindow",,b% �� �ݤleaf(st$) ��LA% �-�st$="":�report("Incorrect leafname"):="" �1LA%=�(st$):�:LA%=LA%-1:��st$,LA%,1)="."�LA%=0 �=�st$,�(st$)-LA%) �Dݤseld(win%,icon%):!b%=win%:b%!4=icon%:ș"Wimp_GetIconState",,b% �(b%!24)�(1<<21):=�:�=� ��con:�LA%,ty% ty%=b%!40:source$=�sg(b%+44) >ș"XOS_ReadVarVal","Wimp$ScrapDir",b%,256,0,3 � ,,len%;fg% (W�fg%�1:�report("A scrap directory must be set before a program can be processed"):� 2�ty%<>&FFB:� <2�tj(con%,3,source$):�tj(con%,7,�leaf(source$)) F`�sel(con%,10):�sel(con%,17):�desel(con%,16):�desel(con%,18):�LA%=11�13:�desel(con%,LA%):�LA% Pr!b%=con%:ș"Wimp_GetWindowState",,b%:�(b%!32)�(1<<16):�openwf(con%,352,224):�b%!28=-1:ș"Wimp_OpenWindow",,b% Z� d��drag:�ox%,oy% n�!b%=con%:ș"Wimp_GetWindowState",,b%:ox%=b%!4-b%!20:oy%=b%!16-b%!24:b%!4=6:ș"Wimp_GetIconState",,b%:b%!4=5:b%!8=ox%+b%!8+4:b%!12=oy%+b%!12:b%!16=ox%+b%!16-6:b%!20=oy%+b%!20+4:b%!24=0:b%!28=0:b%!32=&7FFFFFFF:b%!36=&7FFFFFFF:ș"Wimp_DragBox",,b% x� �,��drop:�leaf$:leaf$=�leaf(�read(con%,7)) ��ș"Wimp_GetPointerInfo",,b%:b%!20=b%!12:b%!24=b%!16:b%!28=!b%:b%!32=b%!4:b%!36=0:!b%=256:b%!12=0:b%!16=1:b%!40=&FFB:$(b%+44)=leaf$:ș"Wimp_SendMessage",18,b%,b%!20,b%!24 �� �'��readpath:�tj(con%,7,�sg(b%+44)):� ���docon:�dest$,it%,ot%,LA% �dest$=�read(con%,7) �l�dest$,"."):��report("To set the destination pathname, drag the icon to a directory display"):done%=�:� �)�LA%=10�13:�seld(con%,LA%):it%=LA%-9 ��LA% �*�LA%=16�18:�seld(con%,LA%):ot%=LA%-15 ��LA% �%�"Set SwiConv$InputFile "+source$ �$�"Set SwiConv$OutputFile "+dest$ $�"Set SwiConv$InputType "+�(it%) %�"Set SwiConv$OutputType "+�(ot%) (�"Filer_Run <SwiConv$Dir>.ConvertEx" "done%=� ,� 6 ��ibar @J!b%=-1:b%!4=0:b%!8=0:b%!12=70:b%!16=68:b%!20=&3002:$(b%+24)="!swiconv" J"ș"Wimp_CreateIcon",,b% � ibh% T� ^T��openwindow:!b%=w%:ș"Wimp_GetWindowState",,b%:b%!28=-1:ș"Wimp_OpenWindow",,b% hT�(b%!32)�(1<<16):�caret(w%,1):!b%=w%:b%!4=4:ș"Wimp_GetIconState",,b%:si%=b%!28 r� |��arrow(icon%,but%):�v% �icon%=(icon%*2)-13 ��but%=1:but%=-1:�but%=1 �v%=�(�read(w%,1)) �$v%+=(icon%*but%):�tj(w%,1,�(v%)) �@�do(1):ș"Wimp_GetCaretPosition",,b%:�!b%=w%:�caret(w%,b%!4) �� �
00000000 4a 6f 6e 61 74 68 61 6e 20 52 61 77 6c 65 2c 20 |Jonathan Rawle, | 00000010 41 75 67 75 73 74 20 31 39 39 36 0a 0a 0a 0a 44 |August 1996....D| 00000020 69 73 63 20 63 6f 6e 74 65 6e 74 73 0a 2d 2d 2d |isc contents.---| 00000030 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 53 61 76 69 |----------..Savi| 00000040 6f 75 72 20 20 2d 20 54 68 69 73 20 69 73 20 74 |our - This is t| 00000050 68 65 20 6c 61 74 65 73 74 20 76 65 72 73 69 6f |he latest versio| 00000060 6e 20 6f 66 20 53 61 76 69 6f 75 72 20 28 77 68 |n of Saviour (wh| 00000070 69 63 68 20 69 73 20 64 75 65 20 66 6f 72 0a 31 |ich is due for.1| 00000080 2e 30 33 20 20 20 20 20 20 20 70 75 62 6c 69 63 |.03 public| 00000090 61 74 69 6f 6e 20 6e 65 78 74 20 4a 61 6e 75 61 |ation next Janua| 000000a0 72 79 29 2e 20 49 74 20 63 6f 6e 74 61 69 6e 73 |ry). It contains| 000000b0 20 61 20 66 65 77 20 6d 69 6e 6f 72 20 61 6c 74 | a few minor alt| 000000c0 65 72 61 74 69 6f 6e 73 0a 20 20 20 20 20 20 20 |erations. | 000000d0 20 20 20 20 61 6e 64 20 69 6d 70 72 6f 76 65 6d | and improvem| 000000e0 65 6e 74 73 20 6f 76 65 72 20 76 65 72 73 69 6f |ents over versio| 000000f0 6e 20 31 2e 30 30 2e 0a 0a 42 72 69 63 6b 42 61 |n 1.00...BrickBa| 00000100 6c 6c 2d 20 41 20 62 61 74 20 61 6e 64 20 62 61 |ll- A bat and ba| 00000110 6c 6c 20 67 61 6d 65 20 77 69 74 68 20 73 6f 6d |ll game with som| 00000120 65 20 75 6e 75 73 75 61 6c 20 66 65 61 74 75 72 |e unusual featur| 00000130 65 73 20 28 73 65 65 20 21 48 65 6c 70 20 66 69 |es (see !Help fi| 00000140 6c 65 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 |le).. | 00000150 4d 61 6b 65 73 20 75 73 65 20 6f 66 20 74 68 65 |Makes use of the| 00000160 20 51 54 4d 20 6d 75 73 69 63 20 70 6c 61 79 65 | QTM music playe| 00000170 72 20 77 68 69 63 68 20 61 70 70 65 61 72 65 64 |r which appeared| 00000180 20 69 6e 20 41 63 6f 72 6e 20 55 73 65 72 20 61 | in Acorn User a| 00000190 0a 20 20 20 20 20 20 20 20 20 20 20 63 6f 75 70 |. coup| 000001a0 6c 65 20 6f 66 20 79 65 61 72 73 20 61 67 65 2e |le of years age.| 000001b0 20 41 20 62 6c 61 6e 6b 20 68 69 67 68 2d 73 63 | A blank high-sc| 000001c0 6f 72 65 20 74 61 62 6c 65 20 69 73 20 61 6c 73 |ore table is als| 000001d0 6f 20 69 6e 63 6c 75 64 65 64 20 6f 6e 0a 20 20 |o included on. | 000001e0 20 20 20 20 20 20 20 20 20 74 68 65 20 64 69 73 | the dis| 000001f0 63 2e 20 28 53 69 6d 70 6c 79 20 63 6f 70 79 20 |c. (Simply copy | 00000200 6f 76 65 72 20 74 68 65 20 6f 6c 64 20 6f 6e 65 |over the old one| 00000210 20 74 6f 20 63 6c 65 61 72 20 61 6e 79 20 73 63 | to clear any sc| 00000220 6f 72 65 73 29 2e 0a 20 20 20 20 20 20 20 20 20 |ores).. | 00000230 20 20 54 68 69 73 20 73 68 6f 75 6c 64 20 6e 6f | This should no| 00000240 74 20 62 65 20 64 69 73 74 72 69 62 75 74 65 64 |t be distributed| 00000250 20 77 69 74 68 20 42 72 69 63 6b 42 61 6c 6c 2e | with BrickBall.| 00000260 0a 0a 53 77 69 43 6f 6e 76 20 20 2d 20 43 6f 6e |..SwiConv - Con| 00000270 76 65 72 74 73 20 53 57 49 73 20 66 72 6f 6d 20 |verts SWIs from | 00000280 74 65 78 74 20 74 6f 20 6e 75 6d 62 65 72 73 20 |text to numbers | 00000290 61 6e 64 20 76 69 63 65 20 76 65 72 73 61 2e 20 |and vice versa. | 000002a0 41 6c 73 6f 20 74 61 6b 65 73 0a 20 20 20 20 20 |Also takes. | 000002b0 20 20 20 20 20 20 77 68 6f 6c 65 20 42 41 53 49 | whole BASI| 000002c0 43 20 70 72 6f 67 72 61 6d 73 20 61 6e 64 20 63 |C programs and c| 000002d0 6f 6e 76 65 72 74 73 20 61 6c 6c 20 6f 66 20 74 |onverts all of t| 000002e0 68 65 20 53 57 49 73 20 69 6e 20 74 68 65 6d 0a |he SWIs in them.| 000002f0 20 20 20 20 20 20 20 20 20 20 20 61 75 74 6f 6d | autom| 00000300 61 74 69 63 61 6c 6c 79 2e 0a 0a 55 74 69 6c 69 |atically...Utili| 00000310 73 20 20 20 2d 20 44 65 73 6b 74 6f 70 20 75 74 |s - Desktop ut| 00000320 69 6c 69 74 79 2e 20 50 72 6f 76 69 64 65 73 3a |ility. Provides:| 00000330 0a 20 20 20 20 20 20 20 20 20 20 20 2a 20 43 6c |. * Cl| 00000340 6f 63 6b 20 61 6e 64 20 61 6c 61 72 6d 20 66 61 |ock and alarm fa| 00000350 63 69 6c 69 74 79 0a 20 20 20 20 20 20 20 20 20 |cility. | 00000360 20 20 2a 20 41 6c 6c 6f 77 73 20 6e 6f 74 65 73 | * Allows notes| 00000370 20 74 6f 20 62 65 20 61 74 74 61 63 68 65 64 20 | to be attached | 00000380 74 6f 20 61 70 70 6c 69 63 61 74 69 6f 6e 73 0a |to applications.| 00000390 20 20 20 20 20 20 20 20 20 20 20 2a 20 45 78 74 | * Ext| 000003a0 72 61 20 27 66 69 6c 65 72 27 20 69 63 6f 6e 73 |ra 'filer' icons| 000003b0 20 6f 6e 20 74 68 65 20 69 63 6f 6e 62 61 72 0a | on the iconbar.| 000003c0 20 20 20 20 20 20 20 20 20 20 20 2a 20 53 65 74 | * Set| 000003d0 74 69 6e 67 20 74 68 65 20 43 53 44 2c 20 69 63 |ting the CSD, ic| 000003e0 6f 6e 73 70 72 69 74 65 73 2c 20 65 78 61 6d 69 |onsprites, exami| 000003f0 6e 69 6e 67 20 73 71 75 61 73 68 20 66 69 6c 65 |ning squash file| 00000400 73 20 65 74 63 2e 0a 20 20 20 20 20 20 20 20 20 |s etc.. | 00000410 20 20 2a 20 41 70 70 6c 69 63 61 74 69 6f 6e 20 | * Application | 00000420 6c 61 75 6e 63 68 65 72 0a 20 20 20 20 20 20 20 |launcher. | 00000430 20 20 20 20 2a 20 4d 6f 76 65 6d 65 6e 74 20 6f | * Movement o| 00000440 66 20 70 6f 69 6e 74 65 72 20 62 79 20 63 75 72 |f pointer by cur| 00000450 73 6f 72 20 6b 65 79 73 0a 0a 4d 61 7a 65 20 20 |sor keys..Maze | 00000460 20 20 20 2d 20 47 61 6d 65 20 62 61 73 65 64 20 | - Game based | 00000470 6f 6e 20 74 68 65 20 62 6f 61 72 64 20 67 61 6d |on the board gam| 00000480 65 20 4c 61 62 79 72 69 6e 74 68 20 66 72 6f 6d |e Labyrinth from| 00000490 20 52 61 76 65 6e 73 62 75 72 67 65 72 20 67 61 | Ravensburger ga| 000004a0 6d 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 |mes.. | 000004b0 28 49 27 6d 20 73 74 69 6c 6c 20 6e 6f 74 20 73 |(I'm still not s| 000004c0 75 72 65 20 69 66 20 74 68 69 73 20 69 6e 66 72 |ure if this infr| 000004d0 69 6e 67 65 73 20 74 68 65 69 72 20 63 6f 70 79 |inges their copy| 000004e0 72 69 67 68 74 2e 29 0a 20 20 20 20 20 20 20 20 |right.). | 000004f0 20 20 20 49 6e 73 74 72 75 63 74 69 6f 6e 73 20 | Instructions | 00000500 61 72 65 20 69 6e 63 6c 75 64 65 64 20 69 6e 20 |are included in | 00000510 74 68 65 20 68 65 6c 70 20 66 69 6c 65 2e 0a 0a |the help file...| 00000520 54 65 6d 70 44 69 72 20 20 2d 20 41 20 64 69 72 |TempDir - A dir| 00000530 65 63 74 6f 72 79 20 66 6f 72 20 74 65 6d 70 6f |ectory for tempo| 00000540 72 61 72 79 20 66 69 6c 65 73 2c 20 77 68 69 63 |rary files, whic| 00000550 68 20 69 73 20 61 75 74 6f 6d 61 74 69 63 61 6c |h is automatical| 00000560 6c 79 20 77 69 70 65 64 0a 20 20 20 20 20 20 20 |ly wiped. | 00000570 20 20 20 20 77 68 65 6e 20 74 68 65 20 61 70 70 | when the app| 00000580 6c 69 63 61 74 69 6f 6e 20 69 73 20 73 74 61 72 |lication is star| 00000590 74 65 64 2e 20 54 68 69 73 20 69 73 20 6d 65 61 |ted. This is mea| 000005a0 6e 74 20 61 73 20 61 6e 20 61 6c 74 65 72 6e 61 |nt as an alterna| 000005b0 74 69 76 65 0a 20 20 20 20 20 20 20 20 20 20 20 |tive. | 000005c0 74 6f 20 74 68 65 20 52 61 6d 44 69 73 63 2e 20 |to the RamDisc. | 000005d0 49 74 20 61 6c 73 6f 20 70 72 6f 76 69 64 65 73 |It also provides| 000005e0 20 61 20 71 75 69 63 6b 20 6d 65 74 68 6f 64 20 | a quick method | 000005f0 66 6f 72 20 73 65 74 74 69 6e 67 20 74 68 65 0a |for setting the.| 00000600 20 20 20 20 20 20 20 20 20 20 20 43 53 44 20 65 | CSD e| 00000610 74 63 2e 20 53 65 65 20 74 68 65 20 68 65 6c 70 |tc. See the help| 00000620 20 66 69 6c 65 20 66 6f 72 20 64 65 74 61 69 6c | file for detail| 00000630 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 54 68 |s.. Th| 00000640 69 73 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 68 |is application h| 00000650 61 73 20 72 65 61 6c 6c 79 20 62 65 65 6e 20 73 |as really been s| 00000660 75 70 65 72 63 65 65 64 65 64 20 62 79 20 55 74 |uperceeded by Ut| 00000670 69 6c 69 73 2e 0a 0a 48 69 67 68 53 63 6f 72 65 |ilis...HighScore| 00000680 73 20 42 6c 61 6e 6b 20 73 63 6f 72 65 20 74 61 |s Blank score ta| 00000690 62 6c 65 20 66 6f 72 20 42 72 69 63 6b 42 61 6c |ble for BrickBal| 000006a0 6c 2c 20 61 73 20 64 65 73 63 72 69 62 65 64 20 |l, as described | 000006b0 61 62 6f 76 65 2e 0a 0a 0a 41 6c 6c 20 70 72 6f |above....All pro| 000006c0 67 72 61 6d 73 20 68 61 76 65 20 66 75 72 74 68 |grams have furth| 000006d0 65 72 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 69 |er information i| 000006e0 6e 20 74 68 65 69 72 20 21 48 65 6c 70 20 66 69 |n their !Help fi| 000006f0 6c 65 73 2e 0a 0a 0a 54 68 61 6e 6b 20 79 6f 75 |les....Thank you| 00000700 20 66 6f 72 20 79 6f 75 72 20 69 6e 74 65 72 65 | for your intere| 00000710 73 74 20 69 6e 20 6d 79 20 77 6f 72 6b 2e 0a 0a |st in my work...| 00000720 4a 6f 6e 61 74 68 61 6e 20 52 61 77 6c 65 00 00 |Jonathan Rawle..| 00000730 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000800 74 72 25 2b 3d 32 34 0d 02 3a 0f fd 66 6c 67 25 |tr%+=24..:..flg%| 00000810 20 80 20 31 32 38 0d 02 44 05 e1 0d 02 4e 19 dd | . 128..D....N..| 00000820 f2 63 6c 28 77 69 6e 25 2c 69 63 6f 6e 25 2c 62 |.cl(win%,icon%,b| 00000830 75 74 25 29 0d 02 58 0b c8 8e 77 69 6e 25 ca 0d |ut%)..X...win%..| 00000840 02 62 07 c9 77 25 0d 02 6c 0d e7 62 75 74 25 3d |.b..w%..l..but%=| 00000850 32 20 8c 0d 02 76 27 c8 99 22 57 69 6d 70 5f 43 |2 ...v'.."Wimp_C| 00000860 72 65 61 74 65 4d 65 6e 75 22 2c 2c 6d 25 2c 21 |reateMenu",,m%,!| 00000870 62 25 2d 36 34 2c 62 25 21 34 0d 02 80 05 cc 0d |b%-64,b%!4......| 00000880 02 8a 0d c8 8e 69 63 6f 6e 25 20 ca 0d 02 94 36 |.....icon% ....6| 00000890 c9 35 3a c8 99 22 57 69 6d 70 5f 47 65 74 43 61 |.5:.."Wimp_GetCa| 000008a0 72 65 74 50 6f 73 69 74 69 6f 6e 22 2c 2c 62 25 |retPosition",,b%| 000008b0 3a e7 21 62 25 3d 77 25 3a f2 64 6f 28 62 25 21 |:.!b%=w%:.do(b%!| 000008c0 34 29 0d 02 9e 1b c9 36 2c 37 3a f2 61 72 72 6f |4).....6,7:.arro| 000008d0 77 28 69 63 6f 6e 25 2c 62 75 74 25 29 0d 02 a8 |w(icon%,but%)...| 000008e0 05 cb 0d 02 b2 05 cd 0d 02 bc 09 c9 63 6f 6e 25 |............con%| 000008f0 0d 02 c6 0c c8 8e 62 75 74 25 20 ca 0d 02 d0 2a |......but% ....*| 00000900 c9 32 3a c8 99 22 57 69 6d 70 5f 43 72 65 61 74 |.2:.."Wimp_Creat| 00000910 65 4d 65 6e 75 22 2c 2c 6d 25 2c 21 62 25 2d 36 |eMenu",,m%,!b%-6| 00000920 34 2c 62 25 21 34 0d 02 da 05 7f 0d 02 e4 0d c8 |4,b%!4..........| 00000930 8e 69 63 6f 6e 25 20 ca 0d 02 ee 15 c9 36 3a e7 |.icon% ......6:.| 00000940 62 75 74 25 80 36 34 3a f2 64 72 61 67 0d 02 f8 |but%.64:.drag...| 00000950 29 c9 31 39 3a 21 62 25 3d 63 6f 6e 25 3a c8 99 |).19:!b%=con%:..| 00000960 22 57 69 6d 70 5f 43 6c 6f 73 65 57 69 6e 64 6f |"Wimp_CloseWindo| 00000970 77 22 2c 2c 62 25 0d 03 02 39 c9 32 30 3a f2 64 |w",,b%...9.20:.d| 00000980 6f 63 6f 6e 3a e7 64 6f 6e 65 25 3d b9 3a 21 62 |ocon:.done%=.:!b| 00000990 25 3d 63 6f 6e 25 3a c8 99 22 57 69 6d 70 5f 43 |%=con%:.."Wimp_C| 000009a0 6c 6f 73 65 57 69 6e 64 6f 77 22 2c 2c 62 25 0d |loseWindow",,b%.| 000009b0 03 0c 05 cb 0d 03 16 05 cb 0d 03 20 3f c9 2d 32 |........... ?.-2| 000009c0 3a e7 62 75 74 25 3d 32 3a c8 99 22 57 69 6d 70 |:.but%=2:.."Wimp| 000009d0 5f 43 72 65 61 74 65 4d 65 6e 75 22 2c 2c 6d 25 |_CreateMenu",,m%| 000009e0 2c 21 62 25 2d 36 34 2c 31 38 34 3a 8b f2 6f 70 |,!b%-64,184:..op| 000009f0 65 6e 77 69 6e 64 6f 77 0d 03 2a 05 cb 0d 03 34 |enwindow..*....4| 00000a00 05 e1 0d 03 3e 08 dd f2 6d 73 0d 03 48 0b 6d 73 |....>...ms..H.ms| 00000a10 25 3d 21 62 25 0d 03 52 1f c8 99 22 57 69 6d 70 |%=!b%..R..."Wimp| 00000a20 5f 47 65 74 50 6f 69 6e 74 65 72 49 6e 66 6f 22 |_GetPointerInfo"| 00000a30 2c 2c 62 25 0d 03 5c 0d 62 75 74 25 3d 62 25 21 |,,b%..\.but%=b%!| 00000a40 38 0d 03 66 0a c8 8e 6d 73 25 ca 0d 03 70 0b c9 |8..f...ms%...p..| 00000a50 31 3a 71 25 3d b9 0d 03 7a 05 cb 0d 03 84 27 e7 |1:q%=...z.....'.| 00000a60 62 75 74 25 3d 31 3a c8 99 22 57 69 6d 70 5f 43 |but%=1:.."Wimp_C| 00000a70 72 65 61 74 65 4d 65 6e 75 22 2c 2c 6d 25 2c 30 |reateMenu",,m%,0| 00000a80 2c 30 0d 03 8e 05 e1 0d 03 98 1a dd f2 6b 65 79 |,0...........key| 00000a90 28 77 69 6e 25 2c 69 63 6f 6e 25 2c 6b 65 79 25 |(win%,icon%,key%| 00000aa0 29 0d 03 a2 66 e7 77 69 6e 25 3d 63 6f 6e 25 80 |)...f.win%=con%.| 00000ab0 6b 65 79 25 3d 31 33 3a f2 73 65 6c 28 63 6f 6e |key%=13:.sel(con| 00000ac0 25 2c 32 30 29 3a f2 64 6f 63 6f 6e 3a f2 64 65 |%,20):.docon:.de| 00000ad0 73 65 6c 28 63 6f 6e 25 2c 32 30 29 3a e7 64 6f |sel(con%,20):.do| 00000ae0 6e 65 25 3d b9 3a 21 62 25 3d 63 6f 6e 25 3a c8 |ne%=.:!b%=con%:.| 00000af0 99 22 57 69 6d 70 5f 43 6c 6f 73 65 57 69 6e 64 |."Wimp_CloseWind| 00000b00 6f 77 22 2c 2c 62 25 0d 03 ac 28 e7 77 69 6e 25 |ow",,b%...(.win%| 00000b10 3c 3e 77 25 3a c8 99 22 57 69 6d 70 5f 50 72 6f |<>w%:.."Wimp_Pro| 00000b20 63 65 73 73 4b 65 79 22 2c 6b 65 79 25 3a e1 0d |cessKey",key%:..| 00000b30 03 b6 0b c8 8e 6b 65 79 25 ca 0d 03 c0 19 c9 31 |.....key%......1| 00000b40 33 3a 73 65 6c 25 3d b9 3a f2 64 6f 28 69 63 6f |3:sel%=.:.do(ico| 00000b50 6e 25 29 0d 03 ca 1f c9 26 31 38 45 3a e7 69 63 |n%).....&18E:.ic| 00000b60 6f 6e 25 3d 31 3a f2 63 61 72 65 74 28 77 25 2c |on%=1:.caret(w%,| 00000b70 33 29 0d 03 d4 19 e7 69 63 6f 6e 25 3d 33 3a f2 |3).....icon%=3:.| 00000b80 63 61 72 65 74 28 77 25 2c 34 29 0d 03 de 19 e7 |caret(w%,4).....| 00000b90 69 63 6f 6e 25 3d 34 3a f2 63 61 72 65 74 28 77 |icon%=4:.caret(w| 00000ba0 25 2c 31 29 0d 03 e8 1f c9 26 31 38 46 3a e7 69 |%,1).....&18F:.i| 00000bb0 63 6f 6e 25 3d 31 3a f2 63 61 72 65 74 28 77 25 |con%=1:.caret(w%| 00000bc0 2c 34 29 0d 03 f2 19 e7 69 63 6f 6e 25 3d 33 3a |,4).....icon%=3:| 00000bd0 f2 63 61 72 65 74 28 77 25 2c 31 29 0d 03 fc 19 |.caret(w%,1)....| 00000be0 e7 69 63 6f 6e 25 3d 34 3a f2 63 61 72 65 74 28 |.icon%=4:.caret(| 00000bf0 77 25 2c 33 29 0d 04 06 1e 7f 3a c8 99 22 57 69 |w%,3).....:.."Wi| 00000c00 6d 70 5f 50 72 6f 63 65 73 73 4b 65 79 22 2c 6b |mp_ProcessKey",k| 00000c10 65 79 25 0d 04 10 05 cb 0d 04 1a 05 e1 0d 04 24 |ey%............$| 00000c20 18 dd f2 64 6f 28 69 63 6f 6e 25 29 3a ea 73 77 |...do(icon%):.sw| 00000c30 25 2c 73 6e 25 0d 04 2e 14 e7 73 65 6c 25 3a f2 |%,sn%.....sel%:.| 00000c40 73 65 6c 28 77 25 2c 35 29 0d 04 38 0c c8 8e 69 |sel(w%,5)..8...i| 00000c50 63 6f 6e 25 ca 0d 04 42 2f c9 31 3a 73 6e 25 3d |con%...B/.1:sn%=| 00000c60 bb 28 a4 72 65 61 64 28 77 25 2c 31 29 29 3a f2 |.(.read(w%,1)):.| 00000c70 74 6a 28 77 25 2c 33 2c 22 26 22 2b c3 7e 28 73 |tj(w%,3,"&"+.~(s| 00000c80 6e 25 29 29 0d 04 4c 54 c9 33 3a e7 c0 a4 72 65 |n%))..LT.3:...re| 00000c90 61 64 28 77 25 2c 33 29 2c 31 29 3c 3e 22 26 22 |ad(w%,3),1)<>"&"| 00000ca0 80 a9 28 a4 72 65 61 64 28 77 25 2c 33 29 29 3c |..(.read(w%,3))<| 00000cb0 37 3a f2 74 6a 28 77 25 2c 33 2c 22 26 22 2b a4 |7:.tj(w%,3,"&"+.| 00000cc0 72 65 61 64 28 77 25 2c 33 29 29 3a f2 63 61 72 |read(w%,3)):.car| 00000cd0 65 74 28 77 25 2c 33 29 0d 04 56 27 73 6e 25 3d |et(w%,3)..V'sn%=| 00000ce0 a0 28 a4 72 65 61 64 28 77 25 2c 33 29 29 3a f2 |.(.read(w%,3)):.| 00000cf0 74 6a 28 77 25 2c 31 2c c3 28 73 6e 25 29 29 0d |tj(w%,1,.(sn%)).| 00000d00 04 60 53 c9 34 3a c8 99 22 4f 53 5f 53 57 49 4e |.`S.4:.."OS_SWIN| 00000d10 75 6d 62 65 72 46 72 6f 6d 53 74 72 69 6e 67 22 |umberFromString"| 00000d20 2c 2c 73 69 25 20 b8 20 73 77 25 3a f2 74 6a 28 |,,si% . sw%:.tj(| 00000d30 77 25 2c 31 2c c3 28 73 77 25 29 29 3a f2 74 6a |w%,1,.(sw%)):.tj| 00000d40 28 77 25 2c 33 2c 22 26 22 2b c3 7e 28 73 77 25 |(w%,3,"&"+.~(sw%| 00000d50 29 29 0d 04 6a 05 cb 0d 04 74 69 e7 69 63 6f 6e |))..j....ti.icon| 00000d60 25 3d 31 84 69 63 6f 6e 25 3d 33 3a 73 6e 25 3d |%=1.icon%=3:sn%=| 00000d70 bb 28 a4 72 65 61 64 28 77 25 2c 31 29 29 3a c8 |.(.read(w%,1)):.| 00000d80 99 22 4f 53 5f 53 57 49 4e 75 6d 62 65 72 54 6f |."OS_SWINumberTo| 00000d90 53 74 72 69 6e 67 22 2c 73 6e 25 2c 62 75 25 2c |String",sn%,bu%,| 00000da0 31 32 37 3a 24 62 75 25 3d a4 73 67 28 62 75 25 |127:$bu%=.sg(bu%| 00000db0 29 3a f2 74 6a 28 77 25 2c 34 2c 24 62 75 25 29 |):.tj(w%,4,$bu%)| 00000dc0 0d 04 7e 1d e7 73 65 6c 25 3a f2 64 65 73 65 6c |..~..sel%:.desel| 00000dd0 28 77 25 2c 35 29 3a 73 65 6c 25 3d a3 0d 04 88 |(w%,5):sel%=....| 00000de0 05 e1 0d 04 92 34 dd a4 73 67 28 70 72 25 29 3a |.....4..sg(pr%):| 00000df0 ea 61 24 3a c8 95 3f 70 72 25 3c 3e 30 3a 61 24 |.a$:..?pr%<>0:a$| 00000e00 2b 3d bd 28 3f 70 72 25 29 3a 70 72 25 2b 3d 31 |+=.(?pr%):pr%+=1| 00000e10 3a ce 3a 3d 61 24 0d 04 9c 18 dd f2 6f 70 65 6e |:.:=a$......open| 00000e20 77 66 28 77 69 6e 25 2c 78 25 2c 79 25 29 0d 04 |wf(win%,x%,y%)..| 00000e30 a6 1c ea 78 6d 69 6e 25 2c 79 6d 69 6e 25 2c 78 |...xmin%,ymin%,x| 00000e40 6d 61 78 25 2c 79 6d 61 78 25 0d 04 b0 cc 21 62 |max%,ymax%....!b| 00000e50 25 3d 77 69 6e 25 3a c8 99 22 57 69 6d 70 5f 47 |%=win%:.."Wimp_G| 00000e60 65 74 57 69 6e 64 6f 77 49 6e 66 6f 22 2c 2c 62 |etWindowInfo",,b| 00000e70 25 3a 78 6d 69 6e 25 3d 62 25 21 34 3a 79 6d 69 |%:xmin%=b%!4:ymi| 00000e80 6e 25 3d 62 25 21 38 3a 78 6d 61 78 25 3d 62 25 |n%=b%!8:xmax%=b%| 00000e90 21 31 32 3a 79 6d 61 78 25 3d 62 25 21 31 36 3a |!12:ymax%=b%!16:| 00000ea0 c8 99 22 57 69 6d 70 5f 47 65 74 57 69 6e 64 6f |.."Wimp_GetWindo| 00000eb0 77 53 74 61 74 65 22 2c 2c 62 25 3a 62 25 21 34 |wState",,b%:b%!4| 00000ec0 3d 78 25 3a 62 25 21 38 3d 79 25 3a 62 25 21 31 |=x%:b%!8=y%:b%!1| 00000ed0 32 3d 78 25 2b 78 6d 61 78 25 2d 78 6d 69 6e 25 |2=x%+xmax%-xmin%| 00000ee0 3a 62 25 21 31 36 3d 79 25 2b 79 6d 61 78 25 2d |:b%!16=y%+ymax%-| 00000ef0 79 6d 69 6e 25 3a 62 25 21 32 38 3d 2d 31 3a c8 |ymin%:b%!28=-1:.| 00000f00 99 22 57 69 6d 70 5f 4f 70 65 6e 57 69 6e 64 6f |."Wimp_OpenWindo| 00000f10 77 22 2c 2c 62 25 0d 04 ba 05 e1 0d 04 c4 0f dd |w",,b%..........| 00000f20 a4 6c 65 61 66 28 73 74 24 29 0d 04 ce 08 ea 4c |.leaf(st$).....L| 00000f30 41 25 0d 04 d8 2d e7 73 74 24 3d 22 22 3a f2 72 |A%...-.st$="":.r| 00000f40 65 70 6f 72 74 28 22 49 6e 63 6f 72 72 65 63 74 |eport("Incorrect| 00000f50 20 6c 65 61 66 6e 61 6d 65 22 29 3a 3d 22 22 0d | leafname"):="".| 00000f60 04 e2 31 4c 41 25 3d a9 28 73 74 24 29 3a f5 3a |..1LA%=.(st$):.:| 00000f70 4c 41 25 3d 4c 41 25 2d 31 3a fd c1 73 74 24 2c |LA%=LA%-1:..st$,| 00000f80 4c 41 25 2c 31 29 3d 22 2e 22 84 4c 41 25 3d 30 |LA%,1)=".".LA%=0| 00000f90 0d 04 ec 15 3d c2 73 74 24 2c a9 28 73 74 24 29 |....=.st$,.(st$)| 00000fa0 2d 4c 41 25 29 0d 04 f6 44 dd a4 73 65 6c 64 28 |-LA%)...D..seld(| 00000fb0 77 69 6e 25 2c 69 63 6f 6e 25 29 3a 21 62 25 3d |win%,icon%):!b%=| 00000fc0 77 69 6e 25 3a 62 25 21 34 3d 69 63 6f 6e 25 3a |win%:b%!4=icon%:| 00000fd0 c8 99 22 57 69 6d 70 5f 47 65 74 49 63 6f 6e 53 |.."Wimp_GetIconS| 00000fe0 74 61 74 65 22 2c 2c 62 25 0d 05 00 1b e7 28 62 |tate",,b%.....(b| 00000ff0 25 21 32 34 29 80 28 31 3c 3c 32 31 29 3a 3d b9 |%!24).(1<<21):=.| 00001000 3a 8b 3d a3 0d 05 0a 12 dd f2 63 6f 6e 3a ea 4c |:.=.......con:.L| 00001010 41 25 2c 74 79 25 0d 05 14 20 74 79 25 3d 62 25 |A%,ty%... ty%=b%| 00001020 21 34 30 3a 73 6f 75 72 63 65 24 3d a4 73 67 28 |!40:source$=.sg(| 00001030 62 25 2b 34 34 29 0d 05 1e 3e c8 99 22 58 4f 53 |b%+44)...>.."XOS| 00001040 5f 52 65 61 64 56 61 72 56 61 6c 22 2c 22 57 69 |_ReadVarVal","Wi| 00001050 6d 70 24 53 63 72 61 70 44 69 72 22 2c 62 25 2c |mp$ScrapDir",b%,| 00001060 32 35 36 2c 30 2c 33 20 b8 20 2c 2c 6c 65 6e 25 |256,0,3 . ,,len%| 00001070 3b 66 67 25 0d 05 28 57 e7 66 67 25 80 31 3a f2 |;fg%..(W.fg%.1:.| 00001080 72 65 70 6f 72 74 28 22 41 20 73 63 72 61 70 20 |report("A scrap | 00001090 64 69 72 65 63 74 6f 72 79 20 6d 75 73 74 20 62 |directory must b| 000010a0 65 20 73 65 74 20 62 65 66 6f 72 65 20 61 20 70 |e set before a p| 000010b0 72 6f 67 72 61 6d 20 63 61 6e 20 62 65 20 70 72 |rogram can be pr| 000010c0 6f 63 65 73 73 65 64 22 29 3a e1 0d 05 32 10 e7 |ocessed"):...2..| 000010d0 74 79 25 3c 3e 26 46 46 42 3a e1 0d 05 3c 32 f2 |ty%<>&FFB:...<2.| 000010e0 74 6a 28 63 6f 6e 25 2c 33 2c 73 6f 75 72 63 65 |tj(con%,3,source| 000010f0 24 29 3a f2 74 6a 28 63 6f 6e 25 2c 37 2c a4 6c |$):.tj(con%,7,.l| 00001100 65 61 66 28 73 6f 75 72 63 65 24 29 29 0d 05 46 |eaf(source$))..F| 00001110 60 f2 73 65 6c 28 63 6f 6e 25 2c 31 30 29 3a f2 |`.sel(con%,10):.| 00001120 73 65 6c 28 63 6f 6e 25 2c 31 37 29 3a f2 64 65 |sel(con%,17):.de| 00001130 73 65 6c 28 63 6f 6e 25 2c 31 36 29 3a f2 64 65 |sel(con%,16):.de| 00001140 73 65 6c 28 63 6f 6e 25 2c 31 38 29 3a e3 4c 41 |sel(con%,18):.LA| 00001150 25 3d 31 31 b8 31 33 3a f2 64 65 73 65 6c 28 63 |%=11.13:.desel(c| 00001160 6f 6e 25 2c 4c 41 25 29 3a ed 4c 41 25 0d 05 50 |on%,LA%):.LA%..P| 00001170 72 21 62 25 3d 63 6f 6e 25 3a c8 99 22 57 69 6d |r!b%=con%:.."Wim| 00001180 70 5f 47 65 74 57 69 6e 64 6f 77 53 74 61 74 65 |p_GetWindowState| 00001190 22 2c 2c 62 25 3a e7 ac 28 62 25 21 33 32 29 80 |",,b%:..(b%!32).| 000011a0 28 31 3c 3c 31 36 29 3a f2 6f 70 65 6e 77 66 28 |(1<<16):.openwf(| 000011b0 63 6f 6e 25 2c 33 35 32 2c 32 32 34 29 3a 8b 62 |con%,352,224):.b| 000011c0 25 21 32 38 3d 2d 31 3a c8 99 22 57 69 6d 70 5f |%!28=-1:.."Wimp_| 000011d0 4f 70 65 6e 57 69 6e 64 6f 77 22 2c 2c 62 25 0d |OpenWindow",,b%.| 000011e0 05 5a 05 e1 0d 05 64 13 dd f2 64 72 61 67 3a ea |.Z....d...drag:.| 000011f0 6f 78 25 2c 6f 79 25 0d 05 6e f8 21 62 25 3d 63 |ox%,oy%..n.!b%=c| 00001200 6f 6e 25 3a c8 99 22 57 69 6d 70 5f 47 65 74 57 |on%:.."Wimp_GetW| 00001210 69 6e 64 6f 77 53 74 61 74 65 22 2c 2c 62 25 3a |indowState",,b%:| 00001220 6f 78 25 3d 62 25 21 34 2d 62 25 21 32 30 3a 6f |ox%=b%!4-b%!20:o| 00001230 79 25 3d 62 25 21 31 36 2d 62 25 21 32 34 3a 62 |y%=b%!16-b%!24:b| 00001240 25 21 34 3d 36 3a c8 99 22 57 69 6d 70 5f 47 65 |%!4=6:.."Wimp_Ge| 00001250 74 49 63 6f 6e 53 74 61 74 65 22 2c 2c 62 25 3a |tIconState",,b%:| 00001260 62 25 21 34 3d 35 3a 62 25 21 38 3d 6f 78 25 2b |b%!4=5:b%!8=ox%+| 00001270 62 25 21 38 2b 34 3a 62 25 21 31 32 3d 6f 79 25 |b%!8+4:b%!12=oy%| 00001280 2b 62 25 21 31 32 3a 62 25 21 31 36 3d 6f 78 25 |+b%!12:b%!16=ox%| 00001290 2b 62 25 21 31 36 2d 36 3a 62 25 21 32 30 3d 6f |+b%!16-6:b%!20=o| 000012a0 79 25 2b 62 25 21 32 30 2b 34 3a 62 25 21 32 34 |y%+b%!20+4:b%!24| 000012b0 3d 30 3a 62 25 21 32 38 3d 30 3a 62 25 21 33 32 |=0:b%!28=0:b%!32| 000012c0 3d 26 37 46 46 46 46 46 46 46 3a 62 25 21 33 36 |=&7FFFFFFF:b%!36| 000012d0 3d 26 37 46 46 46 46 46 46 46 3a c8 99 22 57 69 |=&7FFFFFFF:.."Wi| 000012e0 6d 70 5f 44 72 61 67 42 6f 78 22 2c 2c 62 25 0d |mp_DragBox",,b%.| 000012f0 05 78 05 e1 0d 05 82 2c dd f2 64 72 6f 70 3a ea |.x.....,..drop:.| 00001300 6c 65 61 66 24 3a 6c 65 61 66 24 3d a4 6c 65 61 |leaf$:leaf$=.lea| 00001310 66 28 a4 72 65 61 64 28 63 6f 6e 25 2c 37 29 29 |f(.read(con%,7))| 00001320 0d 05 8c ad c8 99 22 57 69 6d 70 5f 47 65 74 50 |......"Wimp_GetP| 00001330 6f 69 6e 74 65 72 49 6e 66 6f 22 2c 2c 62 25 3a |ointerInfo",,b%:| 00001340 62 25 21 32 30 3d 62 25 21 31 32 3a 62 25 21 32 |b%!20=b%!12:b%!2| 00001350 34 3d 62 25 21 31 36 3a 62 25 21 32 38 3d 21 62 |4=b%!16:b%!28=!b| 00001360 25 3a 62 25 21 33 32 3d 62 25 21 34 3a 62 25 21 |%:b%!32=b%!4:b%!| 00001370 33 36 3d 30 3a 21 62 25 3d 32 35 36 3a 62 25 21 |36=0:!b%=256:b%!| 00001380 31 32 3d 30 3a 62 25 21 31 36 3d 31 3a 62 25 21 |12=0:b%!16=1:b%!| 00001390 34 30 3d 26 46 46 42 3a 24 28 62 25 2b 34 34 29 |40=&FFB:$(b%+44)| 000013a0 3d 6c 65 61 66 24 3a c8 99 22 57 69 6d 70 5f 53 |=leaf$:.."Wimp_S| 000013b0 65 6e 64 4d 65 73 73 61 67 65 22 2c 31 38 2c 62 |endMessage",18,b| 000013c0 25 2c 62 25 21 32 30 2c 62 25 21 32 34 0d 05 96 |%,b%!20,b%!24...| 000013d0 05 e1 0d 05 a0 27 dd f2 72 65 61 64 70 61 74 68 |.....'..readpath| 000013e0 3a f2 74 6a 28 63 6f 6e 25 2c 37 2c a4 73 67 28 |:.tj(con%,7,.sg(| 000013f0 62 25 2b 34 34 29 29 3a e1 0d 05 aa 1e dd f2 64 |b%+44)):.......d| 00001400 6f 63 6f 6e 3a ea 64 65 73 74 24 2c 69 74 25 2c |ocon:.dest$,it%,| 00001410 6f 74 25 2c 4c 41 25 0d 05 b4 17 64 65 73 74 24 |ot%,LA%....dest$| 00001420 3d a4 72 65 61 64 28 63 6f 6e 25 2c 37 29 0d 05 |=.read(con%,7)..| 00001430 be 6c e7 a7 64 65 73 74 24 2c 22 2e 22 29 3a 8b |.l..dest$,"."):.| 00001440 f2 72 65 70 6f 72 74 28 22 54 6f 20 73 65 74 20 |.report("To set | 00001450 74 68 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 |the destination | 00001460 70 61 74 68 6e 61 6d 65 2c 20 64 72 61 67 20 74 |pathname, drag t| 00001470 68 65 20 69 63 6f 6e 20 74 6f 20 61 20 64 69 72 |he icon to a dir| 00001480 65 63 74 6f 72 79 20 64 69 73 70 6c 61 79 22 29 |ectory display")| 00001490 3a 64 6f 6e 65 25 3d a3 3a e1 0d 05 c8 29 e3 4c |:done%=.:....).L| 000014a0 41 25 3d 31 30 b8 31 33 3a e7 a4 73 65 6c 64 28 |A%=10.13:..seld(| 000014b0 63 6f 6e 25 2c 4c 41 25 29 3a 69 74 25 3d 4c 41 |con%,LA%):it%=LA| 000014c0 25 2d 39 0d 05 d2 08 ed 4c 41 25 0d 05 dc 2a e3 |%-9.....LA%...*.| 000014d0 4c 41 25 3d 31 36 b8 31 38 3a e7 a4 73 65 6c 64 |LA%=16.18:..seld| 000014e0 28 63 6f 6e 25 2c 4c 41 25 29 3a 6f 74 25 3d 4c |(con%,LA%):ot%=L| 000014f0 41 25 2d 31 35 0d 05 e6 08 ed 4c 41 25 0d 05 f0 |A%-15.....LA%...| 00001500 25 ff 22 53 65 74 20 53 77 69 43 6f 6e 76 24 49 |%."Set SwiConv$I| 00001510 6e 70 75 74 46 69 6c 65 20 22 2b 73 6f 75 72 63 |nputFile "+sourc| 00001520 65 24 0d 05 fa 24 ff 22 53 65 74 20 53 77 69 43 |e$...$."Set SwiC| 00001530 6f 6e 76 24 4f 75 74 70 75 74 46 69 6c 65 20 22 |onv$OutputFile "| 00001540 2b 64 65 73 74 24 0d 06 04 24 ff 22 53 65 74 20 |+dest$...$."Set | 00001550 53 77 69 43 6f 6e 76 24 49 6e 70 75 74 54 79 70 |SwiConv$InputTyp| 00001560 65 20 22 2b c3 28 69 74 25 29 0d 06 0e 25 ff 22 |e "+.(it%)...%."| 00001570 53 65 74 20 53 77 69 43 6f 6e 76 24 4f 75 74 70 |Set SwiConv$Outp| 00001580 75 74 54 79 70 65 20 22 2b c3 28 6f 74 25 29 0d |utType "+.(ot%).| 00001590 06 18 28 ff 22 46 69 6c 65 72 5f 52 75 6e 20 3c |..(."Filer_Run <| 000015a0 53 77 69 43 6f 6e 76 24 44 69 72 3e 2e 43 6f 6e |SwiConv$Dir>.Con| 000015b0 76 65 72 74 45 78 22 0d 06 22 0b 64 6f 6e 65 25 |vertEx"..".done%| 000015c0 3d b9 0d 06 2c 05 e1 0d 06 36 0a dd f2 69 62 61 |=...,....6...iba| 000015d0 72 0d 06 40 4a 21 62 25 3d 2d 31 3a 62 25 21 34 |r..@J!b%=-1:b%!4| 000015e0 3d 30 3a 62 25 21 38 3d 30 3a 62 25 21 31 32 3d |=0:b%!8=0:b%!12=| 000015f0 37 30 3a 62 25 21 31 36 3d 36 38 3a 62 25 21 32 |70:b%!16=68:b%!2| 00001600 30 3d 26 33 30 30 32 3a 24 28 62 25 2b 32 34 29 |0=&3002:$(b%+24)| 00001610 3d 22 21 73 77 69 63 6f 6e 76 22 0d 06 4a 22 c8 |="!swiconv"..J".| 00001620 99 22 57 69 6d 70 5f 43 72 65 61 74 65 49 63 6f |."Wimp_CreateIco| 00001630 6e 22 2c 2c 62 25 20 b8 20 69 62 68 25 0d 06 54 |n",,b% . ibh%..T| 00001640 05 e1 0d 06 5e 54 dd f2 6f 70 65 6e 77 69 6e 64 |....^T..openwind| 00001650 6f 77 3a 21 62 25 3d 77 25 3a c8 99 22 57 69 6d |ow:!b%=w%:.."Wim| 00001660 70 5f 47 65 74 57 69 6e 64 6f 77 53 74 61 74 65 |p_GetWindowState| 00001670 22 2c 2c 62 25 3a 62 25 21 32 38 3d 2d 31 3a c8 |",,b%:b%!28=-1:.| 00001680 99 22 57 69 6d 70 5f 4f 70 65 6e 57 69 6e 64 6f |."Wimp_OpenWindo| 00001690 77 22 2c 2c 62 25 0d 06 68 54 e7 ac 28 62 25 21 |w",,b%..hT..(b%!| 000016a0 33 32 29 80 28 31 3c 3c 31 36 29 3a f2 63 61 72 |32).(1<<16):.car| 000016b0 65 74 28 77 25 2c 31 29 3a 21 62 25 3d 77 25 3a |et(w%,1):!b%=w%:| 000016c0 62 25 21 34 3d 34 3a c8 99 22 57 69 6d 70 5f 47 |b%!4=4:.."Wimp_G| 000016d0 65 74 49 63 6f 6e 53 74 61 74 65 22 2c 2c 62 25 |etIconState",,b%| 000016e0 3a 73 69 25 3d 62 25 21 32 38 0d 06 72 05 e1 0d |:si%=b%!28..r...| 000016f0 06 7c 1b dd f2 61 72 72 6f 77 28 69 63 6f 6e 25 |.|...arrow(icon%| 00001700 2c 62 75 74 25 29 3a ea 76 25 0d 06 86 16 69 63 |,but%):.v%....ic| 00001710 6f 6e 25 3d 28 69 63 6f 6e 25 2a 32 29 2d 31 33 |on%=(icon%*2)-13| 00001720 0d 06 90 1b e7 62 75 74 25 3d 31 3a 62 75 74 25 |.....but%=1:but%| 00001730 3d 2d 31 3a 8b 62 75 74 25 3d 31 0d 06 9a 15 76 |=-1:.but%=1....v| 00001740 25 3d bb 28 a4 72 65 61 64 28 77 25 2c 31 29 29 |%=.(.read(w%,1))| 00001750 0d 06 a4 24 76 25 2b 3d 28 69 63 6f 6e 25 2a 62 |...$v%+=(icon%*b| 00001760 75 74 25 29 3a f2 74 6a 28 77 25 2c 31 2c c3 28 |ut%):.tj(w%,1,.(| 00001770 76 25 29 29 0d 06 ae 40 f2 64 6f 28 31 29 3a c8 |v%))...@.do(1):.| 00001780 99 22 57 69 6d 70 5f 47 65 74 43 61 72 65 74 50 |."Wimp_GetCaretP| 00001790 6f 73 69 74 69 6f 6e 22 2c 2c 62 25 3a e7 21 62 |osition",,b%:.!b| 000017a0 25 3d 77 25 3a f2 63 61 72 65 74 28 77 25 2c 62 |%=w%:.caret(w%,b| 000017b0 25 21 34 29 0d 06 b8 05 e1 0d ff |%!4).......| 000017bb