Home » Archimedes archive » Archimedes World » AW-1995-01-Disc2.adf » Disk2Jan95 » !AWJan95/Goodies/Event/Examples/!PrintTest/!PrintTest

!AWJan95/Goodies/Event/Examples/!PrintTest/!PrintTest

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-1995-01-Disc2.adf » Disk2Jan95
Filename: !AWJan95/Goodies/Event/Examples/!PrintTest/!PrintTest
Read OK:
File size: 1353 bytes
Load address: 0000
Exec address: 0000
File contents
    1REM > <PrintTest$Dir>.!PrintTest
    2:
    3ON ERROR PROCshell_Error
    4:
    5LIBRARY "<EvntShell$Path>ShellLibRT"
    6:
    7SYS "Hourglass_On"
    8:
    9SYS "Wimp_SlotSize",-1,-1 TO progsize%
   10pagesize%=1<<10
   11freespace%=&8000+progsize%
   12END=freespace%+pagesize%
   13HIMEM=freespace%
   14:
   15PROCshell_HeapManagerInit("<EvntShell$Path>",freespace%)
   16PROCshell_Init
   17task%=FNshell_WimpInit_I(200,"PrintTest")
   18PROCshell_TraceInit("")
   19REM PROCshell_TraceOn
   20PROCshell_ResourcesInit
   21PROCapp_init
   22:
   23REM -------------------- Initialise Variables ----------------------------
   24:
   25_closedown%     =FALSE :REM Set this to TRUE when you want the program to
   26                       :REM end
   27changed%        =FALSE :REM Used to keep track of whether the data has
   28                       :REM been changed. Call PROCfile_changed() when it
   29                       :REM has. But if the program does not use data
   30                       :REM files just ignore this variable but do not
   31                       :REM delete it as the program checks it before
   32                       :REM exiting!
   33:
   34REM -------------------- Miscelleanous Initialisation --------------------
   35:
   36SYS "Hourglass_Off"
   37ON ERROR OFF
   38ON ERROR PROCshell_Error
   39REPEAT
   40  PROCshell_Action(FNshell_Poll_I(0,task%))
   41UNTIL _closedown%
   42:
   43PROCshell_Exit:END
   44:
   45REM ======================================================================
   46:
   47DEF PROCapp_init
   48PROCSetUp_Windows
   49PROCSetUp_Menus
   50PROCSetUp_IconBar
   51ENDPROC
   52:
   53
   54REM ===== Menu_Setup routines ======================================
   55
   56DEF PROCSetUp_Menus
   57LOCAL void%
   58
   59MenuHandle_IconBar%=FNshell_MenuNew(FNshell_MessageNoArgs("MTIBar"))
   60MenuItem_Info%     =FNshell_MenuAdd(0,FNshell_MessageNoArgs("Info"),"")
   61void%              =FNshell_MenuAdd(0,FNshell_MessageNoArgs("Quit"),"_MenuSelect_Quit")
   62PROCshell_AttachMenuDBox(MenuItem_Info%,"progInfo","_PreOpenInfo","")
   63
   64ENDPROC
   65:
   66
   67REM ===== Window_SetUp routines ====================================
   68
   69DEF PROCSetUp_Windows
   70ENDPROC
   71:
   72
   73REM ===== IconBar_SetUp routines ===================================
   74
   75DEF PROCSetUp_IconBar
   76sicon=FNshell_Iconbar(-1,"!"+FNshell_GetAppName,"          ",160,MenuHandle_IconBar%,0,0,0)
   77PROCshell_AttachHelpTag(-1,sicon,"iconbar")
   78PROCshell_AttachClickSelect(-1,sicon,"_ClickSelect_IconBar")
   79IF FNshell_PrinterDriverLoaded = FALSE THEN
   80  PROCshell_IconbarSetText(-1,sicon,"No driver")
   81ELSE
   82  PROCshell_IconbarSetText(-1,sicon,FNshell_PrinterDriverGetName)
   83ENDIF
   84ENDPROC
   85:
   86
   87REM ===== Dialog_PreOpen routines ==================================
   88
   89DEF FN_PreOpenInfo(wh%)
   90PROCshell_IconPutData(wh%,0,FNshell_MessageNoArgs("progInfo0"),0)
   91PROCshell_IconPutData(wh%,1,FNshell_MessageNoArgs("progInfo1"),0)
   92PROCshell_IconPutData(wh%,2,FNshell_MessageNoArgs("progInfo2"),0)
   93PROCshell_IconPutData(wh%,3,FNshell_MessageNoArgs("progInfo3"),0)
   94=0
   95:
   96DEF FN_PreOpen_Print(wh%)
   97PROCshell_WindowRetitle(wh%,FNshell_PrinterDriverGetName)
   98PROCshell_AttachClickSelect(wh%,0,"_ClickSelect_OK")
   99PROCshell_AttachClickSelect(wh%,1,"_ClickSelect_Cancel")
  100PROCshell_IconPutData(wh%,3,"1",TRUE)
  101PROCshell_AttachBumpHandler(wh%,3,4,5,1,8,1,FALSE,"","")
  102=0
  103:
  104
  105REM ===== Dialog_PostOpen routines =================================
  106
  107REM ===== Click_Select routines ====================================
  108
  109DEF FN_ClickSelect_IconBar(wh%,icon%)
  110IF FNshell_PrinterDriverLoaded THEN
  111  PROCshell_OpenWindowDynamic("Print1","_PreOpen_Print","")
  112ENDIF
  113=0
  114:
  115DEF FN_ClickSelect_OK(wh%,icon%)
  116LOCAL copies%
  117copies% = VAL(FNshell_IconGetData(wh%,3))
  118PROCshell_MessageSendPrintSave(&FFF,copies%)
  119=0
  120:
  121DEF FN_ClickSelect_Cancel(wh%,icon%)
  122PROCshell_CloseWindow(wh%)
  123=0
  124:
  125
  126REM ===== Click_Adjust routines ====================================
  127
  128REM ===== Menu_Select routines =====================================
  129
  130DEF FN_MenuSelect_Quit(blk%)
  131_closedown%=TRUE
  132=0
  133:
  134
  135REM ===== Menu_Warning routines ====================================
  136
  137REM ===== Data_Load routines =======================================
  138
  139REM ===== Data_Save routines =======================================
  140
  141REM ===== User application routines ================================
  142
  143DEF PROCshell_PrintSave(name$,wh%,ih%,my_ref%,type%)
  144LOCAL file%,msgblk%
  145msgblk% = FNshell_HeapBlockFetch(256)
  146*|ifdef TraceInit
  147PROCshell_Tracef0("PrintSave:Filename is "+name$)
  148PROCshell_Tracef0("PrintSave:Type is     &"+STR$~type%)
  149*|endif
  150file% = OPENOUT(name$)
  151BPUT# file%,"This is a printer test file.."
  152BPUT# file%,CHR$(27);
  153BPUT# file%,CHR$(%10000100);
  154BPUT# file%,"This should be in italics..."
  155BPUT# file%,&0D
  156CLOSE# file%
  157_U%!84 = my_ref%
  158msgblk%!00 = 256
  159msgblk%!12 = my_ref%
  160msgblk%!16 = 3
  161msgblk%!20 = wh%
  162msgblk%!24 = ih%
  163msgblk%!36 = FNshell_FileLength(name$)
  164msgblk%!40 = type%
  165$(msgblk% + 44)  = name$+CHR$(0)
  166SYS "Wimp_SendMessage",18,msgblk%,wh%,ih%
  167PROCshell_HeapBlockReturn(msgblk%)
  168ENDPROC
  169:
  170
  171REM ================= End Of User Application ======================
  172:
"� > <PrintTest$Dir>.!PrintTest
:
� � �shell_Error
:
#ț "<EvntShell$Path>ShellLibRT"
:
ș "Hourglass_On"
:
	(ș "Wimp_SlotSize",-1,-1 � progsize%

pagesize%=1<<10
freespace%=&8000+progsize%
�=freespace%+pagesize%

�=freespace%
:
9�shell_HeapManagerInit("<EvntShell$Path>",freespace%)
�shell_Init
,task%=�shell_WimpInit_I(200,"PrintTest")
�shell_TraceInit("")
� PROCshell_TraceOn
�shell_ResourcesInit

�app_init
:
L� -------------------- Initialise Variables ----------------------------
:
G_closedown%     =� :� Set this to TRUE when you want the program to
!                       :� end
Dchanged%        =� :� Used to keep track of whether the data has
K                       :� been changed. Call PROCfile_changed() when it
G                       :� has. But if the program does not use data
H                       :� files just ignore this variable but do not
G                       :� delete it as the program checks it before
 &                       :� exiting!
!:
"L� -------------------- Miscelleanous Initialisation --------------------
#:
$ș "Hourglass_Off"
%	� � �
&� � �shell_Error
'�
(+  �shell_Action(�shell_Poll_I(0,task%))
)� _closedown%
*:
+�shell_Exit:�
,:
-L� ======================================================================
.:
/� �app_init
0�SetUp_Windows
1�SetUp_Menus
2�SetUp_IconBar
3�
4:
5
6F� ===== Menu_Setup routines ======================================
7
8� �SetUp_Menus
9� void%
:
;FMenuHandle_IconBar%=�shell_MenuNew(�shell_MessageNoArgs("MTIBar"))
<IMenuItem_Info%     =�shell_MenuAdd(0,�shell_MessageNoArgs("Info"),"")
=Yvoid%              =�shell_MenuAdd(0,�shell_MessageNoArgs("Quit"),"_MenuSelect_Quit")
>F�shell_AttachMenuDBox(MenuItem_Info%,"progInfo","_PreOpenInfo","")
?
@�
A:
B
CF� ===== Window_SetUp routines ====================================
D
E� �SetUp_Windows
F�
G:
H
IF� ===== IconBar_SetUp routines ===================================
J
K� �SetUp_IconBar
L]sicon=�shell_Iconbar(-1,"!"+�shell_GetAppName,"          ",160,MenuHandle_IconBar%,0,0,0)
M,�shell_AttachHelpTag(-1,sicon,"iconbar")
N=�shell_AttachClickSelect(-1,sicon,"_ClickSelect_IconBar")
O&� �shell_PrinterDriverLoaded = � �
P1  �shell_IconbarSetText(-1,sicon,"No driver")
Q�
RA  �shell_IconbarSetText(-1,sicon,�shell_PrinterDriverGetName)
S�
T�
U:
V
WF� ===== Dialog_PreOpen routines ==================================
X
Y� �_PreOpenInfo(wh%)
ZA�shell_IconPutData(wh%,0,�shell_MessageNoArgs("progInfo0"),0)
[A�shell_IconPutData(wh%,1,�shell_MessageNoArgs("progInfo1"),0)
\A�shell_IconPutData(wh%,2,�shell_MessageNoArgs("progInfo2"),0)
]A�shell_IconPutData(wh%,3,�shell_MessageNoArgs("progInfo3"),0)
^=0
_:
`� �_PreOpen_Print(wh%)
a9�shell_WindowRetitle(wh%,�shell_PrinterDriverGetName)
b5�shell_AttachClickSelect(wh%,0,"_ClickSelect_OK")
c9�shell_AttachClickSelect(wh%,1,"_ClickSelect_Cancel")
d#�shell_IconPutData(wh%,3,"1",�)
e5�shell_AttachBumpHandler(wh%,3,4,5,1,8,1,�,"","")
f=0
g:
h
iF� ===== Dialog_PostOpen routines =================================
j
kF� ===== Click_Select routines ====================================
l
m&� �_ClickSelect_IconBar(wh%,icon%)
n"� �shell_PrinterDriverLoaded �
o<  �shell_OpenWindowDynamic("Print1","_PreOpen_Print","")
p�
q=0
r:
s!� �_ClickSelect_OK(wh%,icon%)
t
� copies%
u*copies% = �(�shell_IconGetData(wh%,3))
v-�shell_MessageSendPrintSave(&FFF,copies%)
w=0
x:
y%� �_ClickSelect_Cancel(wh%,icon%)
z�shell_CloseWindow(wh%)
{=0
|:
}
~F� ===== Click_Adjust routines ====================================

�F� ===== Menu_Select routines =====================================
�
�� �_MenuSelect_Quit(blk%)
�_closedown%=�
�=0
�:
�
�F� ===== Menu_Warning routines ====================================
�
�F� ===== Data_Load routines =======================================
�
�F� ===== Data_Save routines =======================================
�
�F� ===== User application routines ================================
�
�3� �shell_PrintSave(name$,wh%,ih%,my_ref%,type%)
�� file%,msgblk%
�(msgblk% = �shell_HeapBlockFetch(256)
�*|ifdef TraceInit
�2�shell_Tracef0("PrintSave:Filename is "+name$)
�5�shell_Tracef0("PrintSave:Type is     &"+�~type%)
�*|endif
�file% = �(name$)
�,�# file%,"This is a printer test file.."
��# file%,�(27);
��# file%,�(%10000100);
�+�# file%,"This should be in italics..."
��# file%,&0D
��# file%
�_U%!84 = my_ref%
�msgblk%!00 = 256
�msgblk%!12 = my_ref%
�msgblk%!16 = 3
�msgblk%!20 = wh%
�msgblk%!24 = ih%
�)msgblk%!36 = �shell_FileLength(name$)
�msgblk%!40 = type%
�!$(msgblk% + 44)  = name$+�(0)
�,ș "Wimp_SendMessage",18,msgblk%,wh%,ih%
�#�shell_HeapBlockReturn(msgblk%)
��
�:
�
�F� ================= End Of User Application ======================
�:
�
00000000  0d 00 01 22 f4 20 3e 20  3c 50 72 69 6e 74 54 65  |...". > <PrintTe|
00000010  73 74 24 44 69 72 3e 2e  21 50 72 69 6e 74 54 65  |st$Dir>.!PrintTe|
00000020  73 74 0d 00 02 05 3a 0d  00 03 14 ee 20 85 20 f2  |st....:..... . .|
00000030  73 68 65 6c 6c 5f 45 72  72 6f 72 0d 00 04 05 3a  |shell_Error....:|
00000040  0d 00 05 23 c8 9b 20 22  3c 45 76 6e 74 53 68 65  |...#.. "<EvntShe|
00000050  6c 6c 24 50 61 74 68 3e  53 68 65 6c 6c 4c 69 62  |ll$Path>ShellLib|
00000060  52 54 22 0d 00 06 05 3a  0d 00 07 15 c8 99 20 22  |RT"....:...... "|
00000070  48 6f 75 72 67 6c 61 73  73 5f 4f 6e 22 0d 00 08  |Hourglass_On"...|
00000080  05 3a 0d 00 09 28 c8 99  20 22 57 69 6d 70 5f 53  |.:...(.. "Wimp_S|
00000090  6c 6f 74 53 69 7a 65 22  2c 2d 31 2c 2d 31 20 b8  |lotSize",-1,-1 .|
000000a0  20 70 72 6f 67 73 69 7a  65 25 0d 00 0a 13 70 61  | progsize%....pa|
000000b0  67 65 73 69 7a 65 25 3d  31 3c 3c 31 30 0d 00 0b  |gesize%=1<<10...|
000000c0  1e 66 72 65 65 73 70 61  63 65 25 3d 26 38 30 30  |.freespace%=&800|
000000d0  30 2b 70 72 6f 67 73 69  7a 65 25 0d 00 0c 1a e0  |0+progsize%.....|
000000e0  3d 66 72 65 65 73 70 61  63 65 25 2b 70 61 67 65  |=freespace%+page|
000000f0  73 69 7a 65 25 0d 00 0d  10 d3 3d 66 72 65 65 73  |size%.....=frees|
00000100  70 61 63 65 25 0d 00 0e  05 3a 0d 00 0f 39 f2 73  |pace%....:...9.s|
00000110  68 65 6c 6c 5f 48 65 61  70 4d 61 6e 61 67 65 72  |hell_HeapManager|
00000120  49 6e 69 74 28 22 3c 45  76 6e 74 53 68 65 6c 6c  |Init("<EvntShell|
00000130  24 50 61 74 68 3e 22 2c  66 72 65 65 73 70 61 63  |$Path>",freespac|
00000140  65 25 29 0d 00 10 0f f2  73 68 65 6c 6c 5f 49 6e  |e%).....shell_In|
00000150  69 74 0d 00 11 2c 74 61  73 6b 25 3d a4 73 68 65  |it...,task%=.she|
00000160  6c 6c 5f 57 69 6d 70 49  6e 69 74 5f 49 28 32 30  |ll_WimpInit_I(20|
00000170  30 2c 22 50 72 69 6e 74  54 65 73 74 22 29 0d 00  |0,"PrintTest")..|
00000180  12 18 f2 73 68 65 6c 6c  5f 54 72 61 63 65 49 6e  |...shell_TraceIn|
00000190  69 74 28 22 22 29 0d 00  13 17 f4 20 50 52 4f 43  |it("")..... PROC|
000001a0  73 68 65 6c 6c 5f 54 72  61 63 65 4f 6e 0d 00 14  |shell_TraceOn...|
000001b0  18 f2 73 68 65 6c 6c 5f  52 65 73 6f 75 72 63 65  |..shell_Resource|
000001c0  73 49 6e 69 74 0d 00 15  0d f2 61 70 70 5f 69 6e  |sInit.....app_in|
000001d0  69 74 0d 00 16 05 3a 0d  00 17 4c f4 20 2d 2d 2d  |it....:...L. ---|
000001e0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000001f0  2d 20 49 6e 69 74 69 61  6c 69 73 65 20 56 61 72  |- Initialise Var|
00000200  69 61 62 6c 65 73 20 2d  2d 2d 2d 2d 2d 2d 2d 2d  |iables ---------|
00000210  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00000220  2d 2d 2d 0d 00 18 05 3a  0d 00 19 47 5f 63 6c 6f  |---....:...G_clo|
00000230  73 65 64 6f 77 6e 25 20  20 20 20 20 3d a3 20 3a  |sedown%     =. :|
00000240  f4 20 53 65 74 20 74 68  69 73 20 74 6f 20 54 52  |. Set this to TR|
00000250  55 45 20 77 68 65 6e 20  79 6f 75 20 77 61 6e 74  |UE when you want|
00000260  20 74 68 65 20 70 72 6f  67 72 61 6d 20 74 6f 0d  | the program to.|
00000270  00 1a 21 20 20 20 20 20  20 20 20 20 20 20 20 20  |..!             |
00000280  20 20 20 20 20 20 20 20  20 20 3a f4 20 65 6e 64  |          :. end|
00000290  0d 00 1b 44 63 68 61 6e  67 65 64 25 20 20 20 20  |...Dchanged%    |
000002a0  20 20 20 20 3d a3 20 3a  f4 20 55 73 65 64 20 74  |    =. :. Used t|
000002b0  6f 20 6b 65 65 70 20 74  72 61 63 6b 20 6f 66 20  |o keep track of |
000002c0  77 68 65 74 68 65 72 20  74 68 65 20 64 61 74 61  |whether the data|
000002d0  20 68 61 73 0d 00 1c 4b  20 20 20 20 20 20 20 20  | has...K        |
000002e0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 3a  |               :|
000002f0  f4 20 62 65 65 6e 20 63  68 61 6e 67 65 64 2e 20  |. been changed. |
00000300  43 61 6c 6c 20 50 52 4f  43 66 69 6c 65 5f 63 68  |Call PROCfile_ch|
00000310  61 6e 67 65 64 28 29 20  77 68 65 6e 20 69 74 0d  |anged() when it.|
00000320  00 1d 47 20 20 20 20 20  20 20 20 20 20 20 20 20  |..G             |
00000330  20 20 20 20 20 20 20 20  20 20 3a f4 20 68 61 73  |          :. has|
00000340  2e 20 42 75 74 20 69 66  20 74 68 65 20 70 72 6f  |. But if the pro|
00000350  67 72 61 6d 20 64 6f 65  73 20 6e 6f 74 20 75 73  |gram does not us|
00000360  65 20 64 61 74 61 0d 00  1e 48 20 20 20 20 20 20  |e data...H      |
00000370  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000380  20 3a f4 20 66 69 6c 65  73 20 6a 75 73 74 20 69  | :. files just i|
00000390  67 6e 6f 72 65 20 74 68  69 73 20 76 61 72 69 61  |gnore this varia|
000003a0  62 6c 65 20 62 75 74 20  64 6f 20 6e 6f 74 0d 00  |ble but do not..|
000003b0  1f 47 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.G              |
000003c0  20 20 20 20 20 20 20 20  20 3a f4 20 64 65 6c 65  |         :. dele|
000003d0  74 65 20 69 74 20 61 73  20 74 68 65 20 70 72 6f  |te it as the pro|
000003e0  67 72 61 6d 20 63 68 65  63 6b 73 20 69 74 20 62  |gram checks it b|
000003f0  65 66 6f 72 65 0d 00 20  26 20 20 20 20 20 20 20  |efore.. &       |
00000400  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000410  3a f4 20 65 78 69 74 69  6e 67 21 0d 00 21 05 3a  |:. exiting!..!.:|
00000420  0d 00 22 4c f4 20 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |.."L. ----------|
00000430  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 20 4d 69 73 63 65  |---------- Misce|
00000440  6c 6c 65 61 6e 6f 75 73  20 49 6e 69 74 69 61 6c  |lleanous Initial|
00000450  69 73 61 74 69 6f 6e 20  2d 2d 2d 2d 2d 2d 2d 2d  |isation --------|
00000460  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 0d 00 23 05  |------------..#.|
00000470  3a 0d 00 24 16 c8 99 20  22 48 6f 75 72 67 6c 61  |:..$... "Hourgla|
00000480  73 73 5f 4f 66 66 22 0d  00 25 09 ee 20 85 20 87  |ss_Off"..%.. . .|
00000490  0d 00 26 14 ee 20 85 20  f2 73 68 65 6c 6c 5f 45  |..&.. . .shell_E|
000004a0  72 72 6f 72 0d 00 27 05  f5 0d 00 28 2b 20 20 f2  |rror..'....(+  .|
000004b0  73 68 65 6c 6c 5f 41 63  74 69 6f 6e 28 a4 73 68  |shell_Action(.sh|
000004c0  65 6c 6c 5f 50 6f 6c 6c  5f 49 28 30 2c 74 61 73  |ell_Poll_I(0,tas|
000004d0  6b 25 29 29 0d 00 29 11  fd 20 5f 63 6c 6f 73 65  |k%))..).. _close|
000004e0  64 6f 77 6e 25 0d 00 2a  05 3a 0d 00 2b 11 f2 73  |down%..*.:..+..s|
000004f0  68 65 6c 6c 5f 45 78 69  74 3a e0 0d 00 2c 05 3a  |hell_Exit:...,.:|
00000500  0d 00 2d 4c f4 20 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |..-L. ==========|
00000510  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
*
00000540  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 0d 00 2e 05  |============....|
00000550  3a 0d 00 2f 0f dd 20 f2  61 70 70 5f 69 6e 69 74  |:../.. .app_init|
00000560  0d 00 30 12 f2 53 65 74  55 70 5f 57 69 6e 64 6f  |..0..SetUp_Windo|
00000570  77 73 0d 00 31 10 f2 53  65 74 55 70 5f 4d 65 6e  |ws..1..SetUp_Men|
00000580  75 73 0d 00 32 12 f2 53  65 74 55 70 5f 49 63 6f  |us..2..SetUp_Ico|
00000590  6e 42 61 72 0d 00 33 05  e1 0d 00 34 05 3a 0d 00  |nBar..3....4.:..|
000005a0  35 04 0d 00 36 46 f4 20  3d 3d 3d 3d 3d 20 4d 65  |5...6F. ===== Me|
000005b0  6e 75 5f 53 65 74 75 70  20 72 6f 75 74 69 6e 65  |nu_Setup routine|
000005c0  73 20 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |s ==============|
000005d0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
000005e0  3d 3d 3d 3d 3d 3d 3d 3d  0d 00 37 04 0d 00 38 12  |========..7...8.|
000005f0  dd 20 f2 53 65 74 55 70  5f 4d 65 6e 75 73 0d 00  |. .SetUp_Menus..|
00000600  39 0b ea 20 76 6f 69 64  25 0d 00 3a 04 0d 00 3b  |9.. void%..:...;|
00000610  46 4d 65 6e 75 48 61 6e  64 6c 65 5f 49 63 6f 6e  |FMenuHandle_Icon|
00000620  42 61 72 25 3d a4 73 68  65 6c 6c 5f 4d 65 6e 75  |Bar%=.shell_Menu|
00000630  4e 65 77 28 a4 73 68 65  6c 6c 5f 4d 65 73 73 61  |New(.shell_Messa|
00000640  67 65 4e 6f 41 72 67 73  28 22 4d 54 49 42 61 72  |geNoArgs("MTIBar|
00000650  22 29 29 0d 00 3c 49 4d  65 6e 75 49 74 65 6d 5f  |"))..<IMenuItem_|
00000660  49 6e 66 6f 25 20 20 20  20 20 3d a4 73 68 65 6c  |Info%     =.shel|
00000670  6c 5f 4d 65 6e 75 41 64  64 28 30 2c a4 73 68 65  |l_MenuAdd(0,.she|
00000680  6c 6c 5f 4d 65 73 73 61  67 65 4e 6f 41 72 67 73  |ll_MessageNoArgs|
00000690  28 22 49 6e 66 6f 22 29  2c 22 22 29 0d 00 3d 59  |("Info"),"")..=Y|
000006a0  76 6f 69 64 25 20 20 20  20 20 20 20 20 20 20 20  |void%           |
000006b0  20 20 20 3d a4 73 68 65  6c 6c 5f 4d 65 6e 75 41  |   =.shell_MenuA|
000006c0  64 64 28 30 2c a4 73 68  65 6c 6c 5f 4d 65 73 73  |dd(0,.shell_Mess|
000006d0  61 67 65 4e 6f 41 72 67  73 28 22 51 75 69 74 22  |ageNoArgs("Quit"|
000006e0  29 2c 22 5f 4d 65 6e 75  53 65 6c 65 63 74 5f 51  |),"_MenuSelect_Q|
000006f0  75 69 74 22 29 0d 00 3e  46 f2 73 68 65 6c 6c 5f  |uit")..>F.shell_|
00000700  41 74 74 61 63 68 4d 65  6e 75 44 42 6f 78 28 4d  |AttachMenuDBox(M|
00000710  65 6e 75 49 74 65 6d 5f  49 6e 66 6f 25 2c 22 70  |enuItem_Info%,"p|
00000720  72 6f 67 49 6e 66 6f 22  2c 22 5f 50 72 65 4f 70  |rogInfo","_PreOp|
00000730  65 6e 49 6e 66 6f 22 2c  22 22 29 0d 00 3f 04 0d  |enInfo","")..?..|
00000740  00 40 05 e1 0d 00 41 05  3a 0d 00 42 04 0d 00 43  |.@....A.:..B...C|
00000750  46 f4 20 3d 3d 3d 3d 3d  20 57 69 6e 64 6f 77 5f  |F. ===== Window_|
00000760  53 65 74 55 70 20 72 6f  75 74 69 6e 65 73 20 3d  |SetUp routines =|
00000770  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
*
00000790  3d 3d 3d 0d 00 44 04 0d  00 45 14 dd 20 f2 53 65  |===..D...E.. .Se|
000007a0  74 55 70 5f 57 69 6e 64  6f 77 73 0d 00 46 05 e1  |tUp_Windows..F..|
000007b0  0d 00 47 05 3a 0d 00 48  04 0d 00 49 46 f4 20 3d  |..G.:..H...IF. =|
000007c0  3d 3d 3d 3d 20 49 63 6f  6e 42 61 72 5f 53 65 74  |==== IconBar_Set|
000007d0  55 70 20 72 6f 75 74 69  6e 65 73 20 3d 3d 3d 3d  |Up routines ====|
000007e0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
000007f0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 0d  |===============.|
00000800  00 4a 04 0d 00 4b 14 dd  20 f2 53 65 74 55 70 5f  |.J...K.. .SetUp_|
00000810  49 63 6f 6e 42 61 72 0d  00 4c 5d 73 69 63 6f 6e  |IconBar..L]sicon|
00000820  3d a4 73 68 65 6c 6c 5f  49 63 6f 6e 62 61 72 28  |=.shell_Iconbar(|
00000830  2d 31 2c 22 21 22 2b a4  73 68 65 6c 6c 5f 47 65  |-1,"!"+.shell_Ge|
00000840  74 41 70 70 4e 61 6d 65  2c 22 20 20 20 20 20 20  |tAppName,"      |
00000850  20 20 20 20 22 2c 31 36  30 2c 4d 65 6e 75 48 61  |    ",160,MenuHa|
00000860  6e 64 6c 65 5f 49 63 6f  6e 42 61 72 25 2c 30 2c  |ndle_IconBar%,0,|
00000870  30 2c 30 29 0d 00 4d 2c  f2 73 68 65 6c 6c 5f 41  |0,0)..M,.shell_A|
00000880  74 74 61 63 68 48 65 6c  70 54 61 67 28 2d 31 2c  |ttachHelpTag(-1,|
00000890  73 69 63 6f 6e 2c 22 69  63 6f 6e 62 61 72 22 29  |sicon,"iconbar")|
000008a0  0d 00 4e 3d f2 73 68 65  6c 6c 5f 41 74 74 61 63  |..N=.shell_Attac|
000008b0  68 43 6c 69 63 6b 53 65  6c 65 63 74 28 2d 31 2c  |hClickSelect(-1,|
000008c0  73 69 63 6f 6e 2c 22 5f  43 6c 69 63 6b 53 65 6c  |sicon,"_ClickSel|
000008d0  65 63 74 5f 49 63 6f 6e  42 61 72 22 29 0d 00 4f  |ect_IconBar")..O|
000008e0  26 e7 20 a4 73 68 65 6c  6c 5f 50 72 69 6e 74 65  |&. .shell_Printe|
000008f0  72 44 72 69 76 65 72 4c  6f 61 64 65 64 20 3d 20  |rDriverLoaded = |
00000900  a3 20 8c 0d 00 50 31 20  20 f2 73 68 65 6c 6c 5f  |. ...P1  .shell_|
00000910  49 63 6f 6e 62 61 72 53  65 74 54 65 78 74 28 2d  |IconbarSetText(-|
00000920  31 2c 73 69 63 6f 6e 2c  22 4e 6f 20 64 72 69 76  |1,sicon,"No driv|
00000930  65 72 22 29 0d 00 51 05  cc 0d 00 52 41 20 20 f2  |er")..Q....RA  .|
00000940  73 68 65 6c 6c 5f 49 63  6f 6e 62 61 72 53 65 74  |shell_IconbarSet|
00000950  54 65 78 74 28 2d 31 2c  73 69 63 6f 6e 2c a4 73  |Text(-1,sicon,.s|
00000960  68 65 6c 6c 5f 50 72 69  6e 74 65 72 44 72 69 76  |hell_PrinterDriv|
00000970  65 72 47 65 74 4e 61 6d  65 29 0d 00 53 05 cd 0d  |erGetName)..S...|
00000980  00 54 05 e1 0d 00 55 05  3a 0d 00 56 04 0d 00 57  |.T....U.:..V...W|
00000990  46 f4 20 3d 3d 3d 3d 3d  20 44 69 61 6c 6f 67 5f  |F. ===== Dialog_|
000009a0  50 72 65 4f 70 65 6e 20  72 6f 75 74 69 6e 65 73  |PreOpen routines|
000009b0  20 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  | ===============|
000009c0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
000009d0  3d 3d 3d 0d 00 58 04 0d  00 59 18 dd 20 a4 5f 50  |===..X...Y.. ._P|
000009e0  72 65 4f 70 65 6e 49 6e  66 6f 28 77 68 25 29 0d  |reOpenInfo(wh%).|
000009f0  00 5a 41 f2 73 68 65 6c  6c 5f 49 63 6f 6e 50 75  |.ZA.shell_IconPu|
00000a00  74 44 61 74 61 28 77 68  25 2c 30 2c a4 73 68 65  |tData(wh%,0,.she|
00000a10  6c 6c 5f 4d 65 73 73 61  67 65 4e 6f 41 72 67 73  |ll_MessageNoArgs|
00000a20  28 22 70 72 6f 67 49 6e  66 6f 30 22 29 2c 30 29  |("progInfo0"),0)|
00000a30  0d 00 5b 41 f2 73 68 65  6c 6c 5f 49 63 6f 6e 50  |..[A.shell_IconP|
00000a40  75 74 44 61 74 61 28 77  68 25 2c 31 2c a4 73 68  |utData(wh%,1,.sh|
00000a50  65 6c 6c 5f 4d 65 73 73  61 67 65 4e 6f 41 72 67  |ell_MessageNoArg|
00000a60  73 28 22 70 72 6f 67 49  6e 66 6f 31 22 29 2c 30  |s("progInfo1"),0|
00000a70  29 0d 00 5c 41 f2 73 68  65 6c 6c 5f 49 63 6f 6e  |)..\A.shell_Icon|
00000a80  50 75 74 44 61 74 61 28  77 68 25 2c 32 2c a4 73  |PutData(wh%,2,.s|
00000a90  68 65 6c 6c 5f 4d 65 73  73 61 67 65 4e 6f 41 72  |hell_MessageNoAr|
00000aa0  67 73 28 22 70 72 6f 67  49 6e 66 6f 32 22 29 2c  |gs("progInfo2"),|
00000ab0  30 29 0d 00 5d 41 f2 73  68 65 6c 6c 5f 49 63 6f  |0)..]A.shell_Ico|
00000ac0  6e 50 75 74 44 61 74 61  28 77 68 25 2c 33 2c a4  |nPutData(wh%,3,.|
00000ad0  73 68 65 6c 6c 5f 4d 65  73 73 61 67 65 4e 6f 41  |shell_MessageNoA|
00000ae0  72 67 73 28 22 70 72 6f  67 49 6e 66 6f 33 22 29  |rgs("progInfo3")|
00000af0  2c 30 29 0d 00 5e 06 3d  30 0d 00 5f 05 3a 0d 00  |,0)..^.=0.._.:..|
00000b00  60 1a dd 20 a4 5f 50 72  65 4f 70 65 6e 5f 50 72  |`.. ._PreOpen_Pr|
00000b10  69 6e 74 28 77 68 25 29  0d 00 61 39 f2 73 68 65  |int(wh%)..a9.she|
00000b20  6c 6c 5f 57 69 6e 64 6f  77 52 65 74 69 74 6c 65  |ll_WindowRetitle|
00000b30  28 77 68 25 2c a4 73 68  65 6c 6c 5f 50 72 69 6e  |(wh%,.shell_Prin|
00000b40  74 65 72 44 72 69 76 65  72 47 65 74 4e 61 6d 65  |terDriverGetName|
00000b50  29 0d 00 62 35 f2 73 68  65 6c 6c 5f 41 74 74 61  |)..b5.shell_Atta|
00000b60  63 68 43 6c 69 63 6b 53  65 6c 65 63 74 28 77 68  |chClickSelect(wh|
00000b70  25 2c 30 2c 22 5f 43 6c  69 63 6b 53 65 6c 65 63  |%,0,"_ClickSelec|
00000b80  74 5f 4f 4b 22 29 0d 00  63 39 f2 73 68 65 6c 6c  |t_OK")..c9.shell|
00000b90  5f 41 74 74 61 63 68 43  6c 69 63 6b 53 65 6c 65  |_AttachClickSele|
00000ba0  63 74 28 77 68 25 2c 31  2c 22 5f 43 6c 69 63 6b  |ct(wh%,1,"_Click|
00000bb0  53 65 6c 65 63 74 5f 43  61 6e 63 65 6c 22 29 0d  |Select_Cancel").|
00000bc0  00 64 23 f2 73 68 65 6c  6c 5f 49 63 6f 6e 50 75  |.d#.shell_IconPu|
00000bd0  74 44 61 74 61 28 77 68  25 2c 33 2c 22 31 22 2c  |tData(wh%,3,"1",|
00000be0  b9 29 0d 00 65 35 f2 73  68 65 6c 6c 5f 41 74 74  |.)..e5.shell_Att|
00000bf0  61 63 68 42 75 6d 70 48  61 6e 64 6c 65 72 28 77  |achBumpHandler(w|
00000c00  68 25 2c 33 2c 34 2c 35  2c 31 2c 38 2c 31 2c a3  |h%,3,4,5,1,8,1,.|
00000c10  2c 22 22 2c 22 22 29 0d  00 66 06 3d 30 0d 00 67  |,"","")..f.=0..g|
00000c20  05 3a 0d 00 68 04 0d 00  69 46 f4 20 3d 3d 3d 3d  |.:..h...iF. ====|
00000c30  3d 20 44 69 61 6c 6f 67  5f 50 6f 73 74 4f 70 65  |= Dialog_PostOpe|
00000c40  6e 20 72 6f 75 74 69 6e  65 73 20 3d 3d 3d 3d 3d  |n routines =====|
00000c50  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00000c60  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 0d 00 6a 04  |============..j.|
00000c70  0d 00 6b 46 f4 20 3d 3d  3d 3d 3d 20 43 6c 69 63  |..kF. ===== Clic|
00000c80  6b 5f 53 65 6c 65 63 74  20 72 6f 75 74 69 6e 65  |k_Select routine|
00000c90  73 20 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |s ==============|
00000ca0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00000cb0  3d 3d 3d 3d 3d 3d 0d 00  6c 04 0d 00 6d 26 dd 20  |======..l...m&. |
00000cc0  a4 5f 43 6c 69 63 6b 53  65 6c 65 63 74 5f 49 63  |._ClickSelect_Ic|
00000cd0  6f 6e 42 61 72 28 77 68  25 2c 69 63 6f 6e 25 29  |onBar(wh%,icon%)|
00000ce0  0d 00 6e 22 e7 20 a4 73  68 65 6c 6c 5f 50 72 69  |..n". .shell_Pri|
00000cf0  6e 74 65 72 44 72 69 76  65 72 4c 6f 61 64 65 64  |nterDriverLoaded|
00000d00  20 8c 0d 00 6f 3c 20 20  f2 73 68 65 6c 6c 5f 4f  | ...o<  .shell_O|
00000d10  70 65 6e 57 69 6e 64 6f  77 44 79 6e 61 6d 69 63  |penWindowDynamic|
00000d20  28 22 50 72 69 6e 74 31  22 2c 22 5f 50 72 65 4f  |("Print1","_PreO|
00000d30  70 65 6e 5f 50 72 69 6e  74 22 2c 22 22 29 0d 00  |pen_Print","")..|
00000d40  70 05 cd 0d 00 71 06 3d  30 0d 00 72 05 3a 0d 00  |p....q.=0..r.:..|
00000d50  73 21 dd 20 a4 5f 43 6c  69 63 6b 53 65 6c 65 63  |s!. ._ClickSelec|
00000d60  74 5f 4f 4b 28 77 68 25  2c 69 63 6f 6e 25 29 0d  |t_OK(wh%,icon%).|
00000d70  00 74 0d ea 20 63 6f 70  69 65 73 25 0d 00 75 2a  |.t.. copies%..u*|
00000d80  63 6f 70 69 65 73 25 20  3d 20 bb 28 a4 73 68 65  |copies% = .(.she|
00000d90  6c 6c 5f 49 63 6f 6e 47  65 74 44 61 74 61 28 77  |ll_IconGetData(w|
00000da0  68 25 2c 33 29 29 0d 00  76 2d f2 73 68 65 6c 6c  |h%,3))..v-.shell|
00000db0  5f 4d 65 73 73 61 67 65  53 65 6e 64 50 72 69 6e  |_MessageSendPrin|
00000dc0  74 53 61 76 65 28 26 46  46 46 2c 63 6f 70 69 65  |tSave(&FFF,copie|
00000dd0  73 25 29 0d 00 77 06 3d  30 0d 00 78 05 3a 0d 00  |s%)..w.=0..x.:..|
00000de0  79 25 dd 20 a4 5f 43 6c  69 63 6b 53 65 6c 65 63  |y%. ._ClickSelec|
00000df0  74 5f 43 61 6e 63 65 6c  28 77 68 25 2c 69 63 6f  |t_Cancel(wh%,ico|
00000e00  6e 25 29 0d 00 7a 1b f2  73 68 65 6c 6c 5f 43 6c  |n%)..z..shell_Cl|
00000e10  6f 73 65 57 69 6e 64 6f  77 28 77 68 25 29 0d 00  |oseWindow(wh%)..|
00000e20  7b 06 3d 30 0d 00 7c 05  3a 0d 00 7d 04 0d 00 7e  |{.=0..|.:..}...~|
00000e30  46 f4 20 3d 3d 3d 3d 3d  20 43 6c 69 63 6b 5f 41  |F. ===== Click_A|
00000e40  64 6a 75 73 74 20 72 6f  75 74 69 6e 65 73 20 3d  |djust routines =|
00000e50  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
*
00000e70  3d 3d 3d 0d 00 7f 04 0d  00 80 46 f4 20 3d 3d 3d  |===.......F. ===|
00000e80  3d 3d 20 4d 65 6e 75 5f  53 65 6c 65 63 74 20 72  |== Menu_Select r|
00000e90  6f 75 74 69 6e 65 73 20  3d 3d 3d 3d 3d 3d 3d 3d  |outines ========|
00000ea0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00000eb0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 0d 00 81  |=============...|
00000ec0  04 0d 00 82 1d dd 20 a4  5f 4d 65 6e 75 53 65 6c  |...... ._MenuSel|
00000ed0  65 63 74 5f 51 75 69 74  28 62 6c 6b 25 29 0d 00  |ect_Quit(blk%)..|
00000ee0  83 11 5f 63 6c 6f 73 65  64 6f 77 6e 25 3d b9 0d  |.._closedown%=..|
00000ef0  00 84 06 3d 30 0d 00 85  05 3a 0d 00 86 04 0d 00  |...=0....:......|
00000f00  87 46 f4 20 3d 3d 3d 3d  3d 20 4d 65 6e 75 5f 57  |.F. ===== Menu_W|
00000f10  61 72 6e 69 6e 67 20 72  6f 75 74 69 6e 65 73 20  |arning routines |
00000f20  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
*
00000f40  3d 3d 3d 3d 0d 00 88 04  0d 00 89 46 f4 20 3d 3d  |====.......F. ==|
00000f50  3d 3d 3d 20 44 61 74 61  5f 4c 6f 61 64 20 72 6f  |=== Data_Load ro|
00000f60  75 74 69 6e 65 73 20 3d  3d 3d 3d 3d 3d 3d 3d 3d  |utines =========|
00000f70  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00000f80  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 0d 00  |==============..|
00000f90  8a 04 0d 00 8b 46 f4 20  3d 3d 3d 3d 3d 20 44 61  |.....F. ===== Da|
00000fa0  74 61 5f 53 61 76 65 20  72 6f 75 74 69 6e 65 73  |ta_Save routines|
00000fb0  20 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  | ===============|
00000fc0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00000fd0  3d 3d 3d 3d 3d 3d 3d 3d  0d 00 8c 04 0d 00 8d 46  |========.......F|
00000fe0  f4 20 3d 3d 3d 3d 3d 20  55 73 65 72 20 61 70 70  |. ===== User app|
00000ff0  6c 69 63 61 74 69 6f 6e  20 72 6f 75 74 69 6e 65  |lication routine|
00001000  73 20 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |s ==============|
00001010  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00001020  3d 3d 0d 00 8e 04 0d 00  8f 33 dd 20 f2 73 68 65  |==.......3. .she|
00001030  6c 6c 5f 50 72 69 6e 74  53 61 76 65 28 6e 61 6d  |ll_PrintSave(nam|
00001040  65 24 2c 77 68 25 2c 69  68 25 2c 6d 79 5f 72 65  |e$,wh%,ih%,my_re|
00001050  66 25 2c 74 79 70 65 25  29 0d 00 90 13 ea 20 66  |f%,type%)..... f|
00001060  69 6c 65 25 2c 6d 73 67  62 6c 6b 25 0d 00 91 28  |ile%,msgblk%...(|
00001070  6d 73 67 62 6c 6b 25 20  3d 20 a4 73 68 65 6c 6c  |msgblk% = .shell|
00001080  5f 48 65 61 70 42 6c 6f  63 6b 46 65 74 63 68 28  |_HeapBlockFetch(|
00001090  32 35 36 29 0d 00 92 15  2a 7c 69 66 64 65 66 20  |256)....*|ifdef |
000010a0  54 72 61 63 65 49 6e 69  74 0d 00 93 32 f2 73 68  |TraceInit...2.sh|
000010b0  65 6c 6c 5f 54 72 61 63  65 66 30 28 22 50 72 69  |ell_Tracef0("Pri|
000010c0  6e 74 53 61 76 65 3a 46  69 6c 65 6e 61 6d 65 20  |ntSave:Filename |
000010d0  69 73 20 22 2b 6e 61 6d  65 24 29 0d 00 94 35 f2  |is "+name$)...5.|
000010e0  73 68 65 6c 6c 5f 54 72  61 63 65 66 30 28 22 50  |shell_Tracef0("P|
000010f0  72 69 6e 74 53 61 76 65  3a 54 79 70 65 20 69 73  |rintSave:Type is|
00001100  20 20 20 20 20 26 22 2b  c3 7e 74 79 70 65 25 29  |     &"+.~type%)|
00001110  0d 00 95 0b 2a 7c 65 6e  64 69 66 0d 00 96 14 66  |....*|endif....f|
00001120  69 6c 65 25 20 3d 20 ae  28 6e 61 6d 65 24 29 0d  |ile% = .(name$).|
00001130  00 97 2c d5 23 20 66 69  6c 65 25 2c 22 54 68 69  |..,.# file%,"Thi|
00001140  73 20 69 73 20 61 20 70  72 69 6e 74 65 72 20 74  |s is a printer t|
00001150  65 73 74 20 66 69 6c 65  2e 2e 22 0d 00 98 13 d5  |est file..".....|
00001160  23 20 66 69 6c 65 25 2c  bd 28 32 37 29 3b 0d 00  |# file%,.(27);..|
00001170  99 1a d5 23 20 66 69 6c  65 25 2c bd 28 25 31 30  |...# file%,.(%10|
00001180  30 30 30 31 30 30 29 3b  0d 00 9a 2b d5 23 20 66  |000100);...+.# f|
00001190  69 6c 65 25 2c 22 54 68  69 73 20 73 68 6f 75 6c  |ile%,"This shoul|
000011a0  64 20 62 65 20 69 6e 20  69 74 61 6c 69 63 73 2e  |d be in italics.|
000011b0  2e 2e 22 0d 00 9b 10 d5  23 20 66 69 6c 65 25 2c  |..".....# file%,|
000011c0  26 30 44 0d 00 9c 0c d9  23 20 66 69 6c 65 25 0d  |&0D.....# file%.|
000011d0  00 9d 14 5f 55 25 21 38  34 20 3d 20 6d 79 5f 72  |..._U%!84 = my_r|
000011e0  65 66 25 0d 00 9e 14 6d  73 67 62 6c 6b 25 21 30  |ef%....msgblk%!0|
000011f0  30 20 3d 20 32 35 36 0d  00 9f 18 6d 73 67 62 6c  |0 = 256....msgbl|
00001200  6b 25 21 31 32 20 3d 20  6d 79 5f 72 65 66 25 0d  |k%!12 = my_ref%.|
00001210  00 a0 12 6d 73 67 62 6c  6b 25 21 31 36 20 3d 20  |...msgblk%!16 = |
00001220  33 0d 00 a1 14 6d 73 67  62 6c 6b 25 21 32 30 20  |3....msgblk%!20 |
00001230  3d 20 77 68 25 0d 00 a2  14 6d 73 67 62 6c 6b 25  |= wh%....msgblk%|
00001240  21 32 34 20 3d 20 69 68  25 0d 00 a3 29 6d 73 67  |!24 = ih%...)msg|
00001250  62 6c 6b 25 21 33 36 20  3d 20 a4 73 68 65 6c 6c  |blk%!36 = .shell|
00001260  5f 46 69 6c 65 4c 65 6e  67 74 68 28 6e 61 6d 65  |_FileLength(name|
00001270  24 29 0d 00 a4 16 6d 73  67 62 6c 6b 25 21 34 30  |$)....msgblk%!40|
00001280  20 3d 20 74 79 70 65 25  0d 00 a5 21 24 28 6d 73  | = type%...!$(ms|
00001290  67 62 6c 6b 25 20 2b 20  34 34 29 20 20 3d 20 6e  |gblk% + 44)  = n|
000012a0  61 6d 65 24 2b bd 28 30  29 0d 00 a6 2c c8 99 20  |ame$+.(0)...,.. |
000012b0  22 57 69 6d 70 5f 53 65  6e 64 4d 65 73 73 61 67  |"Wimp_SendMessag|
000012c0  65 22 2c 31 38 2c 6d 73  67 62 6c 6b 25 2c 77 68  |e",18,msgblk%,wh|
000012d0  25 2c 69 68 25 0d 00 a7  23 f2 73 68 65 6c 6c 5f  |%,ih%...#.shell_|
000012e0  48 65 61 70 42 6c 6f 63  6b 52 65 74 75 72 6e 28  |HeapBlockReturn(|
000012f0  6d 73 67 62 6c 6b 25 29  0d 00 a8 05 e1 0d 00 a9  |msgblk%)........|
00001300  05 3a 0d 00 aa 04 0d 00  ab 46 f4 20 3d 3d 3d 3d  |.:.......F. ====|
00001310  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 20 45 6e  |============= En|
00001320  64 20 4f 66 20 55 73 65  72 20 41 70 70 6c 69 63  |d Of User Applic|
00001330  61 74 69 6f 6e 20 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |ation ==========|
00001340  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 0d 00 ac 05  |============....|
00001350  3a 0d ff                                          |:..|
00001353