Home » Archimedes archive » Archimedes World » AW-1992-12.adf » AWDec92 » !AWDec92/Goodies/Wimp/Software/Stages/!Sort_4/!RunImage

!AWDec92/Goodies/Wimp/Software/Stages/!Sort_4/!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-1992-12.adf » AWDec92
Filename: !AWDec92/Goodies/Wimp/Software/Stages/!Sort_4/!RunImage
Read OK:
File size: 084E bytes
Load address: 0000
Exec address: 0000
File contents
   10 LIBRARY "<Obey$Dir>.Wimp"
   20 PROCWimp_Start("Sort_4",545,425)
   30 PROCUser_SetInitialData
   40 PROCCreate_Windows
   50 PROCCreate_Menus
   60 PROCWimp_WaitForEvent
   70 PROCWimp_CloseDown
   80 END
   90 :
  100 DEF PROCUser_SetInitialData
  110  MaxLines%=200 : Width%=80
  120  MaxFileSize%=MaxLines%*Width%
  130  DIM File% MaxFileSize%
  140 ENDPROC
  150 :
  160 DEF PROCCreate_Windows
  170  Info_Window%=FNWimp_WindowLoad("Info")
  180  Save_Window%=FNWimp_WindowLoad("Save")
  190  Bar_Icon%=FNWimp_IconBar("!Sort_4")
  200 ENDPROC
  210 :
  220 DEF FNEvent_Save(window%)
  230 CASE window% OF
  240  WHEN Save_Window% :=TRUE
  250  OTHERWISE         :=FALSE
  260 ENDCASE
  270 :
  280 DEF FNEvent_Sprites(window%)=sprites%
  290 :
  300 DEF PROCCreate_Menus
  310 menu$="!Sort_4\Info>Info_Window%\Save>Save_Window%\Quit"
  320 Bar_Menu%=FNWimp_MenuCreate(menu$)
  330 ENDPROC
  340 :
  350 DEF FNEvent_Menu(window%)
  360 CASE window% OF
  370 WHEN Bar_Window% : =Bar_Menu%
  380 OTHERWISE : =FALSE
  390 ENDCASE
  400 :
  410 DEF PROCEvent_MenuChoice(menu%)
  420 CASE FNWimp_MenuChoice(0) OF
  430 WHEN 1 :
  440 WHEN 2 :
  450 WHEN 3 :finished%=TRUE
  460 ENDCASE
  470 ENDPROC
  480 :
  490 DEF PROCEvent_WindowClose(window%,buttons%)
  500 ENDPROC
  510 :
  520 DEF PROCEvent_Draw(window%,x_origin%,y_origin%)
  530 ENDPROC
  540 :
  550 DEF PROCEvent_MouseClick(window%,icon%,button%,x%,y%)
  560 ENDPROC
  570 :
  580 DEF PROCEvent_KeyPress(window%,icon%,key%)
  590 ENDPROC
  600 :
  610 DEF PROCEvent_LoadFile(file$,type$)
  620 CASE type$ OF
  630  WHEN "Text" : PROCFile_Load(file$)
  640 ENDCASE
  650 ENDPROC
  660 :
  670 DEF PROCEvent_SaveFile(file$,window%)
  680 CASE window% OF
  690 WHEN Save_Window% :
  700  PROCFile_Sort(file$)
  710  PROCFile_Save(file$)
  720  PROCWimp_MenuClose
  730 ENDCASE
  740 ENDPROC
  750 :
  760 REM -------------------
  770 REM Non-Wimp procedures
  780 REM -------------------
  790 :
  800 DEF PROCFile_Load(file$)
  810  LOCAL F%,Line%,Line$
  820  F%=OPENIN(file$)
  830  Line%=File%
  840  REPEAT
  850   Line$=GET$#F%
  860   CASE Line$ OF
  870   WHEN   "" :
  880   OTHERWISE :
  890     $Line%=Line$+STRING$(Width%-LENLine$-1," ")+CHR$10
  900     PROCWimp_WindowAlert(STR$((Line%-File%+Width%) DIV Width%),$Line%)
  910     Line%+=Width%
  920   ENDCASE
  930  UNTIL EOF#F%
  940  CLOSE#F%
  950  NoOfLines%= (Line%-File%) DIV Width%
  960  PROCWimp_WindowAlert("Number of lines of data",STR$NoOfLines%)
  970 ENDPROC
  980 :
  990 DEF PROCFile_Sort(file$)
 1000  PROCWimp_WindowAlert("Mock Sort",file$)
 1010 ENDPROC
 1020 :
 1030 DEF PROCFile_Save(file$)
 1040  PROCWimp_WindowAlert("Mock Save",file$)
 1050 ENDPROC
 1060 
 1070
 ț "<Obey$Dir>.Wimp"
" �Wimp_Start("Sort_4",545,425)
 �User_SetInitialData
( �Create_Windows
2 �Create_Menus
< �Wimp_WaitForEvent
F �Wimp_CloseDown
P �
Z :
d � �User_SetInitialData
n  MaxLines%=200 : Width%=80
x#  MaxFileSize%=MaxLines%*Width%
�  � File% MaxFileSize%
� �
� :
� � �Create_Windows
�+  Info_Window%=�Wimp_WindowLoad("Info")
�+  Save_Window%=�Wimp_WindowLoad("Save")
�(  Bar_Icon%=�Wimp_IconBar("!Sort_4")
� �
� :
� � �Event_Save(window%)
� Ȏ window% �
�  � Save_Window% :=�
�           :=�
 �
 :
' � �Event_Sprites(window%)=sprites%
" :
, � �Create_Menus
6= menu$="!Sort_4\Info>Info_Window%\Save>Save_Window%\Quit"
@& Bar_Menu%=�Wimp_MenuCreate(menu$)
J �
T :
^ � �Event_Menu(window%)
h Ȏ window% �
r � Bar_Window% : =Bar_Menu%
|  : =�
� �
� :
� � �Event_MenuChoice(menu%)
� Ȏ �Wimp_MenuChoice(0) �
�
 � 1 :
�
 � 2 :
� � 3 :finished%=�
� �
� �
� :
�+ � �Event_WindowClose(window%,buttons%)
� �
� :
/ � �Event_Draw(window%,x_origin%,y_origin%)
 �
 :
&5 � �Event_MouseClick(window%,icon%,button%,x%,y%)
0 �
: :
D* � �Event_KeyPress(window%,icon%,key%)
N �
X :
b# � �Event_LoadFile(file$,type$)
l Ȏ type$ �
v"  � "Text" : �File_Load(file$)
� �
� �
� :
�% � �Event_SaveFile(file$,window%)
� Ȏ window% �
� � Save_Window% :
�  �File_Sort(file$)
�  �File_Save(file$)
�  �Wimp_MenuClose
� �
� �
� :
� � -------------------
 � Non-Wimp procedures
 � -------------------
 :
  � �File_Load(file$)
*  � F%,Line%,Line$
4  F%=�(file$)
>  Line%=File%
H  �
R   Line$=�#F%
\   Ȏ Line$ �
f   �   "" :
p
    :
z/     $Line%=Line$+�Width%-�Line$-1," ")+�10
�C     �Wimp_WindowAlert(�((Line%-File%+Width%) � Width%),$Line%)
�     Line%+=Width%
�   �
�  � �#F%
�
  �#F%
�(  NoOfLines%= (Line%-File%) � Width%
�>  �Wimp_WindowAlert("Number of lines of data",�NoOfLines%)
� �
� :
� � �File_Sort(file$)
�*  �Wimp_WindowAlert("Mock Sort",file$)
� �
� :
 � �File_Save(file$)
*  �Wimp_WindowAlert("Mock Save",file$)
 �
$ 
.
�
00000000  0d 00 0a 19 20 c8 9b 20  22 3c 4f 62 65 79 24 44  |.... .. "<Obey$D|
00000010  69 72 3e 2e 57 69 6d 70  22 0d 00 14 22 20 f2 57  |ir>.Wimp"..." .W|
00000020  69 6d 70 5f 53 74 61 72  74 28 22 53 6f 72 74 5f  |imp_Start("Sort_|
00000030  34 22 2c 35 34 35 2c 34  32 35 29 0d 00 1e 19 20  |4",545,425).... |
00000040  f2 55 73 65 72 5f 53 65  74 49 6e 69 74 69 61 6c  |.User_SetInitial|
00000050  44 61 74 61 0d 00 28 14  20 f2 43 72 65 61 74 65  |Data..(. .Create|
00000060  5f 57 69 6e 64 6f 77 73  0d 00 32 12 20 f2 43 72  |_Windows..2. .Cr|
00000070  65 61 74 65 5f 4d 65 6e  75 73 0d 00 3c 17 20 f2  |eate_Menus..<. .|
00000080  57 69 6d 70 5f 57 61 69  74 46 6f 72 45 76 65 6e  |Wimp_WaitForEven|
00000090  74 0d 00 46 14 20 f2 57  69 6d 70 5f 43 6c 6f 73  |t..F. .Wimp_Clos|
000000a0  65 44 6f 77 6e 0d 00 50  06 20 e0 0d 00 5a 06 20  |eDown..P. ...Z. |
000000b0  3a 0d 00 64 1b 20 dd 20  f2 55 73 65 72 5f 53 65  |:..d. . .User_Se|
000000c0  74 49 6e 69 74 69 61 6c  44 61 74 61 0d 00 6e 1f  |tInitialData..n.|
000000d0  20 20 4d 61 78 4c 69 6e  65 73 25 3d 32 30 30 20  |  MaxLines%=200 |
000000e0  3a 20 57 69 64 74 68 25  3d 38 30 0d 00 78 23 20  |: Width%=80..x# |
000000f0  20 4d 61 78 46 69 6c 65  53 69 7a 65 25 3d 4d 61  | MaxFileSize%=Ma|
00000100  78 4c 69 6e 65 73 25 2a  57 69 64 74 68 25 0d 00  |xLines%*Width%..|
00000110  82 1a 20 20 de 20 46 69  6c 65 25 20 4d 61 78 46  |..  . File% MaxF|
00000120  69 6c 65 53 69 7a 65 25  0d 00 8c 06 20 e1 0d 00  |ileSize%.... ...|
00000130  96 06 20 3a 0d 00 a0 16  20 dd 20 f2 43 72 65 61  |.. :.... . .Crea|
00000140  74 65 5f 57 69 6e 64 6f  77 73 0d 00 aa 2b 20 20  |te_Windows...+  |
00000150  49 6e 66 6f 5f 57 69 6e  64 6f 77 25 3d a4 57 69  |Info_Window%=.Wi|
00000160  6d 70 5f 57 69 6e 64 6f  77 4c 6f 61 64 28 22 49  |mp_WindowLoad("I|
00000170  6e 66 6f 22 29 0d 00 b4  2b 20 20 53 61 76 65 5f  |nfo")...+  Save_|
00000180  57 69 6e 64 6f 77 25 3d  a4 57 69 6d 70 5f 57 69  |Window%=.Wimp_Wi|
00000190  6e 64 6f 77 4c 6f 61 64  28 22 53 61 76 65 22 29  |ndowLoad("Save")|
000001a0  0d 00 be 28 20 20 42 61  72 5f 49 63 6f 6e 25 3d  |...(  Bar_Icon%=|
000001b0  a4 57 69 6d 70 5f 49 63  6f 6e 42 61 72 28 22 21  |.Wimp_IconBar("!|
000001c0  53 6f 72 74 5f 34 22 29  0d 00 c8 06 20 e1 0d 00  |Sort_4").... ...|
000001d0  d2 06 20 3a 0d 00 dc 1b  20 dd 20 a4 45 76 65 6e  |.. :.... . .Even|
000001e0  74 5f 53 61 76 65 28 77  69 6e 64 6f 77 25 29 0d  |t_Save(window%).|
000001f0  00 e6 11 20 c8 8e 20 77  69 6e 64 6f 77 25 20 ca  |... .. window% .|
00000200  0d 00 f0 18 20 20 c9 20  53 61 76 65 5f 57 69 6e  |....  . Save_Win|
00000210  64 6f 77 25 20 3a 3d b9  0d 00 fa 13 20 20 7f 20  |dow% :=.....  . |
00000220  20 20 20 20 20 20 20 20  3a 3d a3 0d 01 04 06 20  |        :=..... |
00000230  cb 0d 01 0e 06 20 3a 0d  01 18 27 20 dd 20 a4 45  |..... :...' . .E|
00000240  76 65 6e 74 5f 53 70 72  69 74 65 73 28 77 69 6e  |vent_Sprites(win|
00000250  64 6f 77 25 29 3d 73 70  72 69 74 65 73 25 0d 01  |dow%)=sprites%..|
00000260  22 06 20 3a 0d 01 2c 14  20 dd 20 f2 43 72 65 61  |". :..,. . .Crea|
00000270  74 65 5f 4d 65 6e 75 73  0d 01 36 3d 20 6d 65 6e  |te_Menus..6= men|
00000280  75 24 3d 22 21 53 6f 72  74 5f 34 5c 49 6e 66 6f  |u$="!Sort_4\Info|
00000290  3e 49 6e 66 6f 5f 57 69  6e 64 6f 77 25 5c 53 61  |>Info_Window%\Sa|
000002a0  76 65 3e 53 61 76 65 5f  57 69 6e 64 6f 77 25 5c  |ve>Save_Window%\|
000002b0  51 75 69 74 22 0d 01 40  26 20 42 61 72 5f 4d 65  |Quit"..@& Bar_Me|
000002c0  6e 75 25 3d a4 57 69 6d  70 5f 4d 65 6e 75 43 72  |nu%=.Wimp_MenuCr|
000002d0  65 61 74 65 28 6d 65 6e  75 24 29 0d 01 4a 06 20  |eate(menu$)..J. |
000002e0  e1 0d 01 54 06 20 3a 0d  01 5e 1b 20 dd 20 a4 45  |...T. :..^. . .E|
000002f0  76 65 6e 74 5f 4d 65 6e  75 28 77 69 6e 64 6f 77  |vent_Menu(window|
00000300  25 29 0d 01 68 11 20 c8  8e 20 77 69 6e 64 6f 77  |%)..h. .. window|
00000310  25 20 ca 0d 01 72 1f 20  c9 20 42 61 72 5f 57 69  |% ...r. . Bar_Wi|
00000320  6e 64 6f 77 25 20 3a 20  3d 42 61 72 5f 4d 65 6e  |ndow% : =Bar_Men|
00000330  75 25 0d 01 7c 0b 20 7f  20 3a 20 3d a3 0d 01 86  |u%..|. . : =....|
00000340  06 20 cb 0d 01 90 06 20  3a 0d 01 9a 1f 20 dd 20  |. ..... :.... . |
00000350  f2 45 76 65 6e 74 5f 4d  65 6e 75 43 68 6f 69 63  |.Event_MenuChoic|
00000360  65 28 6d 65 6e 75 25 29  0d 01 a4 1d 20 c8 8e 20  |e(menu%).... .. |
00000370  a4 57 69 6d 70 5f 4d 65  6e 75 43 68 6f 69 63 65  |.Wimp_MenuChoice|
00000380  28 30 29 20 ca 0d 01 ae  0a 20 c9 20 31 20 3a 0d  |(0) ..... . 1 :.|
00000390  01 b8 0a 20 c9 20 32 20  3a 0d 01 c2 15 20 c9 20  |... . 2 :.... . |
000003a0  33 20 3a 66 69 6e 69 73  68 65 64 25 3d b9 0d 01  |3 :finished%=...|
000003b0  cc 06 20 cb 0d 01 d6 06  20 e1 0d 01 e0 06 20 3a  |.. ..... ..... :|
000003c0  0d 01 ea 2b 20 dd 20 f2  45 76 65 6e 74 5f 57 69  |...+ . .Event_Wi|
000003d0  6e 64 6f 77 43 6c 6f 73  65 28 77 69 6e 64 6f 77  |ndowClose(window|
000003e0  25 2c 62 75 74 74 6f 6e  73 25 29 0d 01 f4 06 20  |%,buttons%).... |
000003f0  e1 0d 01 fe 06 20 3a 0d  02 08 2f 20 dd 20 f2 45  |..... :.../ . .E|
00000400  76 65 6e 74 5f 44 72 61  77 28 77 69 6e 64 6f 77  |vent_Draw(window|
00000410  25 2c 78 5f 6f 72 69 67  69 6e 25 2c 79 5f 6f 72  |%,x_origin%,y_or|
00000420  69 67 69 6e 25 29 0d 02  12 06 20 e1 0d 02 1c 06  |igin%).... .....|
00000430  20 3a 0d 02 26 35 20 dd  20 f2 45 76 65 6e 74 5f  | :..&5 . .Event_|
00000440  4d 6f 75 73 65 43 6c 69  63 6b 28 77 69 6e 64 6f  |MouseClick(windo|
00000450  77 25 2c 69 63 6f 6e 25  2c 62 75 74 74 6f 6e 25  |w%,icon%,button%|
00000460  2c 78 25 2c 79 25 29 0d  02 30 06 20 e1 0d 02 3a  |,x%,y%)..0. ...:|
00000470  06 20 3a 0d 02 44 2a 20  dd 20 f2 45 76 65 6e 74  |. :..D* . .Event|
00000480  5f 4b 65 79 50 72 65 73  73 28 77 69 6e 64 6f 77  |_KeyPress(window|
00000490  25 2c 69 63 6f 6e 25 2c  6b 65 79 25 29 0d 02 4e  |%,icon%,key%)..N|
000004a0  06 20 e1 0d 02 58 06 20  3a 0d 02 62 23 20 dd 20  |. ...X. :..b# . |
000004b0  f2 45 76 65 6e 74 5f 4c  6f 61 64 46 69 6c 65 28  |.Event_LoadFile(|
000004c0  66 69 6c 65 24 2c 74 79  70 65 24 29 0d 02 6c 0f  |file$,type$)..l.|
000004d0  20 c8 8e 20 74 79 70 65  24 20 ca 0d 02 76 22 20  | .. type$ ...v" |
000004e0  20 c9 20 22 54 65 78 74  22 20 3a 20 f2 46 69 6c  | . "Text" : .Fil|
000004f0  65 5f 4c 6f 61 64 28 66  69 6c 65 24 29 0d 02 80  |e_Load(file$)...|
00000500  06 20 cb 0d 02 8a 06 20  e1 0d 02 94 06 20 3a 0d  |. ..... ..... :.|
00000510  02 9e 25 20 dd 20 f2 45  76 65 6e 74 5f 53 61 76  |..% . .Event_Sav|
00000520  65 46 69 6c 65 28 66 69  6c 65 24 2c 77 69 6e 64  |eFile(file$,wind|
00000530  6f 77 25 29 0d 02 a8 11  20 c8 8e 20 77 69 6e 64  |ow%).... .. wind|
00000540  6f 77 25 20 ca 0d 02 b2  15 20 c9 20 53 61 76 65  |ow% ..... . Save|
00000550  5f 57 69 6e 64 6f 77 25  20 3a 0d 02 bc 17 20 20  |_Window% :....  |
00000560  f2 46 69 6c 65 5f 53 6f  72 74 28 66 69 6c 65 24  |.File_Sort(file$|
00000570  29 0d 02 c6 17 20 20 f2  46 69 6c 65 5f 53 61 76  |)....  .File_Sav|
00000580  65 28 66 69 6c 65 24 29  0d 02 d0 15 20 20 f2 57  |e(file$)....  .W|
00000590  69 6d 70 5f 4d 65 6e 75  43 6c 6f 73 65 0d 02 da  |imp_MenuClose...|
000005a0  06 20 cb 0d 02 e4 06 20  e1 0d 02 ee 06 20 3a 0d  |. ..... ..... :.|
000005b0  02 f8 1a 20 f4 20 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |... . ----------|
000005c0  2d 2d 2d 2d 2d 2d 2d 2d  2d 0d 03 02 1a 20 f4 20  |---------.... . |
000005d0  4e 6f 6e 2d 57 69 6d 70  20 70 72 6f 63 65 64 75  |Non-Wimp procedu|
000005e0  72 65 73 0d 03 0c 1a 20  f4 20 2d 2d 2d 2d 2d 2d  |res.... . ------|
000005f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0d 03 16  |-------------...|
00000600  06 20 3a 0d 03 20 18 20  dd 20 f2 46 69 6c 65 5f  |. :.. . . .File_|
00000610  4c 6f 61 64 28 66 69 6c  65 24 29 0d 03 2a 16 20  |Load(file$)..*. |
00000620  20 ea 20 46 25 2c 4c 69  6e 65 25 2c 4c 69 6e 65  | . F%,Line%,Line|
00000630  24 0d 03 34 11 20 20 46  25 3d 8e 28 66 69 6c 65  |$..4.  F%=.(file|
00000640  24 29 0d 03 3e 11 20 20  4c 69 6e 65 25 3d 46 69  |$)..>.  Line%=Fi|
00000650  6c 65 25 0d 03 48 07 20  20 f5 0d 03 52 11 20 20  |le%..H.  ...R.  |
00000660  20 4c 69 6e 65 24 3d be  23 46 25 0d 03 5c 11 20  | Line$=.#F%..\. |
00000670  20 20 c8 8e 20 4c 69 6e  65 24 20 ca 0d 03 66 0f  |  .. Line$ ...f.|
00000680  20 20 20 c9 20 20 20 22  22 20 3a 0d 03 70 0a 20  |   .   "" :..p. |
00000690  20 20 7f 20 3a 0d 03 7a  2f 20 20 20 20 20 24 4c  |  . :..z/     $L|
000006a0  69 6e 65 25 3d 4c 69 6e  65 24 2b c4 57 69 64 74  |ine%=Line$+.Widt|
000006b0  68 25 2d a9 4c 69 6e 65  24 2d 31 2c 22 20 22 29  |h%-.Line$-1," ")|
000006c0  2b bd 31 30 0d 03 84 43  20 20 20 20 20 f2 57 69  |+.10...C     .Wi|
000006d0  6d 70 5f 57 69 6e 64 6f  77 41 6c 65 72 74 28 c3  |mp_WindowAlert(.|
000006e0  28 28 4c 69 6e 65 25 2d  46 69 6c 65 25 2b 57 69  |((Line%-File%+Wi|
000006f0  64 74 68 25 29 20 81 20  57 69 64 74 68 25 29 2c  |dth%) . Width%),|
00000700  24 4c 69 6e 65 25 29 0d  03 8e 16 20 20 20 20 20  |$Line%)....     |
00000710  4c 69 6e 65 25 2b 3d 57  69 64 74 68 25 0d 03 98  |Line%+=Width%...|
00000720  08 20 20 20 cb 0d 03 a2  0c 20 20 fd 20 c5 23 46  |.   .....  . .#F|
00000730  25 0d 03 ac 0a 20 20 d9  23 46 25 0d 03 b6 28 20  |%....  .#F%...( |
00000740  20 4e 6f 4f 66 4c 69 6e  65 73 25 3d 20 28 4c 69  | NoOfLines%= (Li|
00000750  6e 65 25 2d 46 69 6c 65  25 29 20 81 20 57 69 64  |ne%-File%) . Wid|
00000760  74 68 25 0d 03 c0 3e 20  20 f2 57 69 6d 70 5f 57  |th%...>  .Wimp_W|
00000770  69 6e 64 6f 77 41 6c 65  72 74 28 22 4e 75 6d 62  |indowAlert("Numb|
00000780  65 72 20 6f 66 20 6c 69  6e 65 73 20 6f 66 20 64  |er of lines of d|
00000790  61 74 61 22 2c c3 4e 6f  4f 66 4c 69 6e 65 73 25  |ata",.NoOfLines%|
000007a0  29 0d 03 ca 06 20 e1 0d  03 d4 06 20 3a 0d 03 de  |).... ..... :...|
000007b0  18 20 dd 20 f2 46 69 6c  65 5f 53 6f 72 74 28 66  |. . .File_Sort(f|
000007c0  69 6c 65 24 29 0d 03 e8  2a 20 20 f2 57 69 6d 70  |ile$)...*  .Wimp|
000007d0  5f 57 69 6e 64 6f 77 41  6c 65 72 74 28 22 4d 6f  |_WindowAlert("Mo|
000007e0  63 6b 20 53 6f 72 74 22  2c 66 69 6c 65 24 29 0d  |ck Sort",file$).|
000007f0  03 f2 06 20 e1 0d 03 fc  06 20 3a 0d 04 06 18 20  |... ..... :.... |
00000800  dd 20 f2 46 69 6c 65 5f  53 61 76 65 28 66 69 6c  |. .File_Save(fil|
00000810  65 24 29 0d 04 10 2a 20  20 f2 57 69 6d 70 5f 57  |e$)...*  .Wimp_W|
00000820  69 6e 64 6f 77 41 6c 65  72 74 28 22 4d 6f 63 6b  |indowAlert("Mock|
00000830  20 53 61 76 65 22 2c 66  69 6c 65 24 29 0d 04 1a  | Save",file$)...|
00000840  06 20 e1 0d 04 24 05 20  0d 04 2e 04 0d ff        |. ...$. ......|
0000084e