Home » Archimedes archive » Acorn Computing » 1994 08 subscription disc.adf » 9408s » Shareware/Event/Documents/Examples/!Panes/!Panes

Shareware/Event/Documents/Examples/!Panes/!Panes

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 Computing » 1994 08 subscription disc.adf » 9408s
Filename: Shareware/Event/Documents/Examples/!Panes/!Panes
Read OK:
File size: 0F49 bytes
Load address: 0000
Exec address: 0000
File contents
    1REM > <Panes$Dir>.!Panes
    2:
    3ON ERROR MODE12:SYS"Hourglass_Smash":REPORT:PRINT" at line: ";ERL:END
    4:
    5LIBRARY "<EvntShellSystem$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("<EvntShellSystem$Path>",freespace%)
   16PROCshell_Init
   17task%=FNshell_WimpInit_I(200,"Event Shell Program")
   18REM PROCshell_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:
   36ON ERROR PROCshell_Error
   37:
   38SYS "Hourglass_Off"
   39REPEAT
   40  PROCshell_Action(FNshell_Poll_I(0,task%))
   41UNTIL _closedown%
   42:
   43PROCshell_Exit:END
   44:
   45REM ======================================================================
   46:
   47DEF PROCapp_init
   48PROCSetUp_Menus
   49PROCSetUp_Windows
   50PROCSetUp_IconBar
   51PROCshell_InitHelpSystem(FNshell_GetAppDir+"."+FNshell_GetAppName,TRUE)
   52ENDPROC
   53:
   54
   55REM ===== Menu_Setup routines ======================================
   56
   57DEF PROCSetUp_Menus
   58LOCAL void%
   59
   60MenuHandle_IconBar%=FNshell_MenuNew("Panes")
   61MenuItem_Info%     =FNshell_MenuAdd(0,FNshell_MessageNoArgs("Info"),"")
   62void%              =FNshell_MenuAdd(0,FNshell_MessageNoArgs("Quit"),"_MenuSelect_Quit")
   63PROCshell_AttachMenuDBox(MenuItem_Info%,"progInfo","_PreOpenInfo","")
   64
   65ENDPROC
   66:
   67
   68REM ===== Window_SetUp routines ====================================
   69
   70DEF PROCSetUp_Windows
   71PROCshell_CreateWindowStatic("mainw",mainw%)
   72PROCshell_CreateWindowStatic("mainw2",mainw2%)
   73PROCshell_CreateWindowStatic("pane1",pane1%)
   74PROCshell_CreateWindowStatic("pane2",pane2%)
   75PROCshell_CreateWindowStatic("pane3",pane3%)
   76PROCshell_AttachPane(mainw%,pane1%,0,315,-78)
   77PROCshell_AttachPane(mainw2%,pane2%,1,-86,-0):REM toolbox pane
   78PROCshell_AttachPane(mainw2%,pane3%,2,0,0)   :REM top pane
   79ENDPROC
   80:
   81
   82REM ===== IconBar_SetUp routines ===================================
   83
   84DEF PROCSetUp_IconBar
   85sicon=FNshell_Iconbar(-1,"!"+FNshell_GetAppName,"",120,MenuHandle_IconBar%,0,0,0)
   86PROCshell_AttachHelpTag(-1,sicon,"iconbar")
   87PROCshell_AttachClickSelect(-1,sicon,"_ClickSelect_IconBar")
   88ENDPROC
   89:
   90
   91REM ===== Dialog_PreOpen routines ==================================
   92
   93DEF FN_PreOpenInfo(wh%)
   94PROCshell_IconPutData(wh%,0,FNshell_MessageNoArgs("progInfo0"),0)
   95PROCshell_IconPutData(wh%,1,FNshell_MessageNoArgs("progInfo1"),0)
   96PROCshell_IconPutData(wh%,2,FNshell_MessageNoArgs("progInfo2"),0)
   97PROCshell_IconPutData(wh%,3,FNshell_MessageNoArgs("progInfo3"),0)
   98=0
   99:
  100
  101REM ===== Dialog_PostOpen routines =================================
  102
  103REM ===== Click_Select routines ====================================
  104
  105DEF FN_ClickSelect_IconBar(wh%,icon%)
  106PROCshell_OpenWindowStatic(mainw%)
  107PROCshell_OpenWindowStatic(mainw2%)
  108=0
  109:
  110
  111REM ===== Click_Adjust routines ====================================
  112
  113REM ===== Menu_Select routines =====================================
  114
  115DEF FN_MenuSelect_Quit(blk%)
  116_closedown%=TRUE
  117=0
  118:
  119
  120REM ===== Menu_Warning routines ====================================
  121
  122REM ===== Data_Load routines =======================================
  123
  124REM ===== Data_Save routines =======================================
  125
  126REM ================= End Of User Application ============================
  127:
� > <Panes$Dir>.!Panes
:
3� � �12:ș"Hourglass_Smash":�:�" at line: ";�:�
:
)ț "<EvntShellSystem$Path>ShellLibRT"
:
ș "Hourglass_On"
:
	(ș "Wimp_SlotSize",-1,-1 � progsize%

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

�=freespace%
:
?�shell_HeapManagerInit("<EvntShellSystem$Path>",freespace%)
�shell_Init
6task%=�shell_WimpInit_I(200,"Event Shell Program")
� PROCshell_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 --------------------
#:
$� � �shell_Error
%:
&ș "Hourglass_Off"
'�
(+  �shell_Action(�shell_Poll_I(0,task%))
)� _closedown%
*:
+�shell_Exit:�
,:
-L� ======================================================================
.:
/� �app_init
0�SetUp_Menus
1�SetUp_Windows
2�SetUp_IconBar
3C�shell_InitHelpSystem(�shell_GetAppDir+"."+�shell_GetAppName,�)
4�
5:
6
7F� ===== Menu_Setup routines ======================================
8
9� �SetUp_Menus
:� void%
;
</MenuHandle_IconBar%=�shell_MenuNew("Panes")
=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:
C
DF� ===== Window_SetUp routines ====================================
E
F� �SetUp_Windows
G-�shell_CreateWindowStatic("mainw",mainw%)
H/�shell_CreateWindowStatic("mainw2",mainw2%)
I-�shell_CreateWindowStatic("pane1",pane1%)
J-�shell_CreateWindowStatic("pane2",pane2%)
K-�shell_CreateWindowStatic("pane3",pane3%)
L.�shell_AttachPane(mainw%,pane1%,0,315,-78)
M=�shell_AttachPane(mainw2%,pane2%,1,-86,-0):� toolbox pane
N9�shell_AttachPane(mainw2%,pane3%,2,0,0)   :� top pane
O�
P:
Q
RF� ===== IconBar_SetUp routines ===================================
S
T� �SetUp_IconBar
USsicon=�shell_Iconbar(-1,"!"+�shell_GetAppName,"",120,MenuHandle_IconBar%,0,0,0)
V,�shell_AttachHelpTag(-1,sicon,"iconbar")
W=�shell_AttachClickSelect(-1,sicon,"_ClickSelect_IconBar")
X�
Y:
Z
[F� ===== Dialog_PreOpen routines ==================================
\
]� �_PreOpenInfo(wh%)
^A�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)
aA�shell_IconPutData(wh%,3,�shell_MessageNoArgs("progInfo3"),0)
b=0
c:
d
eF� ===== Dialog_PostOpen routines =================================
f
gF� ===== Click_Select routines ====================================
h
i&� �_ClickSelect_IconBar(wh%,icon%)
j#�shell_OpenWindowStatic(mainw%)
k$�shell_OpenWindowStatic(mainw2%)
l=0
m:
n
oF� ===== Click_Adjust routines ====================================
p
qF� ===== Menu_Select routines =====================================
r
s� �_MenuSelect_Quit(blk%)
t_closedown%=�
u=0
v:
w
xF� ===== Menu_Warning routines ====================================
y
zF� ===== Data_Load routines =======================================
{
|F� ===== Data_Save routines =======================================
}
~L� ================= End Of User Application ============================
:
�
00000000  0d 00 01 1a f4 20 3e 20  3c 50 61 6e 65 73 24 44  |..... > <Panes$D|
00000010  69 72 3e 2e 21 50 61 6e  65 73 0d 00 02 05 3a 0d  |ir>.!Panes....:.|
00000020  00 03 33 ee 20 85 20 eb  31 32 3a c8 99 22 48 6f  |..3. . .12:.."Ho|
00000030  75 72 67 6c 61 73 73 5f  53 6d 61 73 68 22 3a f6  |urglass_Smash":.|
00000040  3a f1 22 20 61 74 20 6c  69 6e 65 3a 20 22 3b 9e  |:." at line: ";.|
00000050  3a e0 0d 00 04 05 3a 0d  00 05 29 c8 9b 20 22 3c  |:.....:...).. "<|
00000060  45 76 6e 74 53 68 65 6c  6c 53 79 73 74 65 6d 24  |EvntShellSystem$|
00000070  50 61 74 68 3e 53 68 65  6c 6c 4c 69 62 52 54 22  |Path>ShellLibRT"|
00000080  0d 00 06 05 3a 0d 00 07  15 c8 99 20 22 48 6f 75  |....:...... "Hou|
00000090  72 67 6c 61 73 73 5f 4f  6e 22 0d 00 08 05 3a 0d  |rglass_On"....:.|
000000a0  00 09 28 c8 99 20 22 57  69 6d 70 5f 53 6c 6f 74  |..(.. "Wimp_Slot|
000000b0  53 69 7a 65 22 2c 2d 31  2c 2d 31 20 b8 20 70 72  |Size",-1,-1 . pr|
000000c0  6f 67 73 69 7a 65 25 0d  00 0a 13 70 61 67 65 73  |ogsize%....pages|
000000d0  69 7a 65 25 3d 31 3c 3c  31 30 0d 00 0b 1e 66 72  |ize%=1<<10....fr|
000000e0  65 65 73 70 61 63 65 25  3d 26 38 30 30 30 2b 70  |eespace%=&8000+p|
000000f0  72 6f 67 73 69 7a 65 25  0d 00 0c 1a e0 3d 66 72  |rogsize%.....=fr|
00000100  65 65 73 70 61 63 65 25  2b 70 61 67 65 73 69 7a  |eespace%+pagesiz|
00000110  65 25 0d 00 0d 10 d3 3d  66 72 65 65 73 70 61 63  |e%.....=freespac|
00000120  65 25 0d 00 0e 05 3a 0d  00 0f 3f f2 73 68 65 6c  |e%....:...?.shel|
00000130  6c 5f 48 65 61 70 4d 61  6e 61 67 65 72 49 6e 69  |l_HeapManagerIni|
00000140  74 28 22 3c 45 76 6e 74  53 68 65 6c 6c 53 79 73  |t("<EvntShellSys|
00000150  74 65 6d 24 50 61 74 68  3e 22 2c 66 72 65 65 73  |tem$Path>",frees|
00000160  70 61 63 65 25 29 0d 00  10 0f f2 73 68 65 6c 6c  |pace%).....shell|
00000170  5f 49 6e 69 74 0d 00 11  36 74 61 73 6b 25 3d a4  |_Init...6task%=.|
00000180  73 68 65 6c 6c 5f 57 69  6d 70 49 6e 69 74 5f 49  |shell_WimpInit_I|
00000190  28 32 30 30 2c 22 45 76  65 6e 74 20 53 68 65 6c  |(200,"Event Shel|
000001a0  6c 20 50 72 6f 67 72 61  6d 22 29 0d 00 12 1d f4  |l Program").....|
000001b0  20 50 52 4f 43 73 68 65  6c 6c 5f 54 72 61 63 65  | PROCshell_Trace|
000001c0  49 6e 69 74 28 22 22 29  0d 00 13 17 f4 20 50 52  |Init("")..... PR|
000001d0  4f 43 73 68 65 6c 6c 5f  54 72 61 63 65 4f 6e 0d  |OCshell_TraceOn.|
000001e0  00 14 18 f2 73 68 65 6c  6c 5f 52 65 73 6f 75 72  |....shell_Resour|
000001f0  63 65 73 49 6e 69 74 0d  00 15 0d f2 61 70 70 5f  |cesInit.....app_|
00000200  69 6e 69 74 0d 00 16 05  3a 0d 00 17 4c f4 20 2d  |init....:...L. -|
00000210  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00000220  2d 2d 2d 20 49 6e 69 74  69 61 6c 69 73 65 20 56  |--- Initialise V|
00000230  61 72 69 61 62 6c 65 73  20 2d 2d 2d 2d 2d 2d 2d  |ariables -------|
00000240  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00000250  2d 2d 2d 2d 2d 0d 00 18  05 3a 0d 00 19 47 5f 63  |-----....:...G_c|
00000260  6c 6f 73 65 64 6f 77 6e  25 20 20 20 20 20 3d a3  |losedown%     =.|
00000270  20 3a f4 20 53 65 74 20  74 68 69 73 20 74 6f 20  | :. Set this to |
00000280  54 52 55 45 20 77 68 65  6e 20 79 6f 75 20 77 61  |TRUE when you wa|
00000290  6e 74 20 74 68 65 20 70  72 6f 67 72 61 6d 20 74  |nt the program t|
000002a0  6f 0d 00 1a 21 20 20 20  20 20 20 20 20 20 20 20  |o...!           |
000002b0  20 20 20 20 20 20 20 20  20 20 20 20 3a f4 20 65  |            :. e|
000002c0  6e 64 0d 00 1b 44 63 68  61 6e 67 65 64 25 20 20  |nd...Dchanged%  |
000002d0  20 20 20 20 20 20 3d a3  20 3a f4 20 55 73 65 64  |      =. :. Used|
000002e0  20 74 6f 20 6b 65 65 70  20 74 72 61 63 6b 20 6f  | to keep track o|
000002f0  66 20 77 68 65 74 68 65  72 20 74 68 65 20 64 61  |f whether the da|
00000300  74 61 20 68 61 73 0d 00  1c 4b 20 20 20 20 20 20  |ta has...K      |
00000310  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000320  20 3a f4 20 62 65 65 6e  20 63 68 61 6e 67 65 64  | :. been changed|
00000330  2e 20 43 61 6c 6c 20 50  52 4f 43 66 69 6c 65 5f  |. Call PROCfile_|
00000340  63 68 61 6e 67 65 64 28  29 20 77 68 65 6e 20 69  |changed() when i|
00000350  74 0d 00 1d 47 20 20 20  20 20 20 20 20 20 20 20  |t...G           |
00000360  20 20 20 20 20 20 20 20  20 20 20 20 3a f4 20 68  |            :. h|
00000370  61 73 2e 20 42 75 74 20  69 66 20 74 68 65 20 70  |as. But if the p|
00000380  72 6f 67 72 61 6d 20 64  6f 65 73 20 6e 6f 74 20  |rogram does not |
00000390  75 73 65 20 64 61 74 61  0d 00 1e 48 20 20 20 20  |use data...H    |
000003a0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000003b0  20 20 20 3a f4 20 66 69  6c 65 73 20 6a 75 73 74  |   :. files just|
000003c0  20 69 67 6e 6f 72 65 20  74 68 69 73 20 76 61 72  | ignore this var|
000003d0  69 61 62 6c 65 20 62 75  74 20 64 6f 20 6e 6f 74  |iable but do not|
000003e0  0d 00 1f 47 20 20 20 20  20 20 20 20 20 20 20 20  |...G            |
000003f0  20 20 20 20 20 20 20 20  20 20 20 3a f4 20 64 65  |           :. de|
00000400  6c 65 74 65 20 69 74 20  61 73 20 74 68 65 20 70  |lete it as the p|
00000410  72 6f 67 72 61 6d 20 63  68 65 63 6b 73 20 69 74  |rogram checks it|
00000420  20 62 65 66 6f 72 65 0d  00 20 26 20 20 20 20 20  | before.. &     |
00000430  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000440  20 20 3a f4 20 65 78 69  74 69 6e 67 21 0d 00 21  |  :. exiting!..!|
00000450  05 3a 0d 00 22 4c f4 20  2d 2d 2d 2d 2d 2d 2d 2d  |.:.."L. --------|
00000460  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 20 4d 69 73  |------------ Mis|
00000470  63 65 6c 6c 65 61 6e 6f  75 73 20 49 6e 69 74 69  |celleanous Initi|
00000480  61 6c 69 73 61 74 69 6f  6e 20 2d 2d 2d 2d 2d 2d  |alisation ------|
00000490  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 0d 00  |--------------..|
000004a0  23 05 3a 0d 00 24 14 ee  20 85 20 f2 73 68 65 6c  |#.:..$.. . .shel|
000004b0  6c 5f 45 72 72 6f 72 0d  00 25 05 3a 0d 00 26 16  |l_Error..%.:..&.|
000004c0  c8 99 20 22 48 6f 75 72  67 6c 61 73 73 5f 4f 66  |.. "Hourglass_Of|
000004d0  66 22 0d 00 27 05 f5 0d  00 28 2b 20 20 f2 73 68  |f"..'....(+  .sh|
000004e0  65 6c 6c 5f 41 63 74 69  6f 6e 28 a4 73 68 65 6c  |ell_Action(.shel|
000004f0  6c 5f 50 6f 6c 6c 5f 49  28 30 2c 74 61 73 6b 25  |l_Poll_I(0,task%|
00000500  29 29 0d 00 29 11 fd 20  5f 63 6c 6f 73 65 64 6f  |))..).. _closedo|
00000510  77 6e 25 0d 00 2a 05 3a  0d 00 2b 11 f2 73 68 65  |wn%..*.:..+..she|
00000520  6c 6c 5f 45 78 69 74 3a  e0 0d 00 2c 05 3a 0d 00  |ll_Exit:...,.:..|
00000530  2d 4c f4 20 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |-L. ============|
00000540  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
*
00000570  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 0d 00 2e 05 3a 0d  |==========....:.|
00000580  00 2f 0f dd 20 f2 61 70  70 5f 69 6e 69 74 0d 00  |./.. .app_init..|
00000590  30 10 f2 53 65 74 55 70  5f 4d 65 6e 75 73 0d 00  |0..SetUp_Menus..|
000005a0  31 12 f2 53 65 74 55 70  5f 57 69 6e 64 6f 77 73  |1..SetUp_Windows|
000005b0  0d 00 32 12 f2 53 65 74  55 70 5f 49 63 6f 6e 42  |..2..SetUp_IconB|
000005c0  61 72 0d 00 33 43 f2 73  68 65 6c 6c 5f 49 6e 69  |ar..3C.shell_Ini|
000005d0  74 48 65 6c 70 53 79 73  74 65 6d 28 a4 73 68 65  |tHelpSystem(.she|
000005e0  6c 6c 5f 47 65 74 41 70  70 44 69 72 2b 22 2e 22  |ll_GetAppDir+"."|
000005f0  2b a4 73 68 65 6c 6c 5f  47 65 74 41 70 70 4e 61  |+.shell_GetAppNa|
00000600  6d 65 2c b9 29 0d 00 34  05 e1 0d 00 35 05 3a 0d  |me,.)..4....5.:.|
00000610  00 36 04 0d 00 37 46 f4  20 3d 3d 3d 3d 3d 20 4d  |.6...7F. ===== M|
00000620  65 6e 75 5f 53 65 74 75  70 20 72 6f 75 74 69 6e  |enu_Setup routin|
00000630  65 73 20 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |es =============|
00000640  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00000650  3d 3d 3d 3d 3d 3d 3d 3d  3d 0d 00 38 04 0d 00 39  |=========..8...9|
00000660  12 dd 20 f2 53 65 74 55  70 5f 4d 65 6e 75 73 0d  |.. .SetUp_Menus.|
00000670  00 3a 0b ea 20 76 6f 69  64 25 0d 00 3b 04 0d 00  |.:.. void%..;...|
00000680  3c 2f 4d 65 6e 75 48 61  6e 64 6c 65 5f 49 63 6f  |</MenuHandle_Ico|
00000690  6e 42 61 72 25 3d a4 73  68 65 6c 6c 5f 4d 65 6e  |nBar%=.shell_Men|
000006a0  75 4e 65 77 28 22 50 61  6e 65 73 22 29 0d 00 3d  |uNew("Panes")..=|
000006b0  49 4d 65 6e 75 49 74 65  6d 5f 49 6e 66 6f 25 20  |IMenuItem_Info% |
000006c0  20 20 20 20 3d a4 73 68  65 6c 6c 5f 4d 65 6e 75  |    =.shell_Menu|
000006d0  41 64 64 28 30 2c a4 73  68 65 6c 6c 5f 4d 65 73  |Add(0,.shell_Mes|
000006e0  73 61 67 65 4e 6f 41 72  67 73 28 22 49 6e 66 6f  |sageNoArgs("Info|
000006f0  22 29 2c 22 22 29 0d 00  3e 59 76 6f 69 64 25 20  |"),"")..>Yvoid% |
00000700  20 20 20 20 20 20 20 20  20 20 20 20 20 3d a4 73  |             =.s|
00000710  68 65 6c 6c 5f 4d 65 6e  75 41 64 64 28 30 2c a4  |hell_MenuAdd(0,.|
00000720  73 68 65 6c 6c 5f 4d 65  73 73 61 67 65 4e 6f 41  |shell_MessageNoA|
00000730  72 67 73 28 22 51 75 69  74 22 29 2c 22 5f 4d 65  |rgs("Quit"),"_Me|
00000740  6e 75 53 65 6c 65 63 74  5f 51 75 69 74 22 29 0d  |nuSelect_Quit").|
00000750  00 3f 46 f2 73 68 65 6c  6c 5f 41 74 74 61 63 68  |.?F.shell_Attach|
00000760  4d 65 6e 75 44 42 6f 78  28 4d 65 6e 75 49 74 65  |MenuDBox(MenuIte|
00000770  6d 5f 49 6e 66 6f 25 2c  22 70 72 6f 67 49 6e 66  |m_Info%,"progInf|
00000780  6f 22 2c 22 5f 50 72 65  4f 70 65 6e 49 6e 66 6f  |o","_PreOpenInfo|
00000790  22 2c 22 22 29 0d 00 40  04 0d 00 41 05 e1 0d 00  |","")..@...A....|
000007a0  42 05 3a 0d 00 43 04 0d  00 44 46 f4 20 3d 3d 3d  |B.:..C...DF. ===|
000007b0  3d 3d 20 57 69 6e 64 6f  77 5f 53 65 74 55 70 20  |== Window_SetUp |
000007c0  72 6f 75 74 69 6e 65 73  20 3d 3d 3d 3d 3d 3d 3d  |routines =======|
000007d0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
000007e0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 0d 00 45  |=============..E|
000007f0  04 0d 00 46 14 dd 20 f2  53 65 74 55 70 5f 57 69  |...F.. .SetUp_Wi|
00000800  6e 64 6f 77 73 0d 00 47  2d f2 73 68 65 6c 6c 5f  |ndows..G-.shell_|
00000810  43 72 65 61 74 65 57 69  6e 64 6f 77 53 74 61 74  |CreateWindowStat|
00000820  69 63 28 22 6d 61 69 6e  77 22 2c 6d 61 69 6e 77  |ic("mainw",mainw|
00000830  25 29 0d 00 48 2f f2 73  68 65 6c 6c 5f 43 72 65  |%)..H/.shell_Cre|
00000840  61 74 65 57 69 6e 64 6f  77 53 74 61 74 69 63 28  |ateWindowStatic(|
00000850  22 6d 61 69 6e 77 32 22  2c 6d 61 69 6e 77 32 25  |"mainw2",mainw2%|
00000860  29 0d 00 49 2d f2 73 68  65 6c 6c 5f 43 72 65 61  |)..I-.shell_Crea|
00000870  74 65 57 69 6e 64 6f 77  53 74 61 74 69 63 28 22  |teWindowStatic("|
00000880  70 61 6e 65 31 22 2c 70  61 6e 65 31 25 29 0d 00  |pane1",pane1%)..|
00000890  4a 2d f2 73 68 65 6c 6c  5f 43 72 65 61 74 65 57  |J-.shell_CreateW|
000008a0  69 6e 64 6f 77 53 74 61  74 69 63 28 22 70 61 6e  |indowStatic("pan|
000008b0  65 32 22 2c 70 61 6e 65  32 25 29 0d 00 4b 2d f2  |e2",pane2%)..K-.|
000008c0  73 68 65 6c 6c 5f 43 72  65 61 74 65 57 69 6e 64  |shell_CreateWind|
000008d0  6f 77 53 74 61 74 69 63  28 22 70 61 6e 65 33 22  |owStatic("pane3"|
000008e0  2c 70 61 6e 65 33 25 29  0d 00 4c 2e f2 73 68 65  |,pane3%)..L..she|
000008f0  6c 6c 5f 41 74 74 61 63  68 50 61 6e 65 28 6d 61  |ll_AttachPane(ma|
00000900  69 6e 77 25 2c 70 61 6e  65 31 25 2c 30 2c 33 31  |inw%,pane1%,0,31|
00000910  35 2c 2d 37 38 29 0d 00  4d 3d f2 73 68 65 6c 6c  |5,-78)..M=.shell|
00000920  5f 41 74 74 61 63 68 50  61 6e 65 28 6d 61 69 6e  |_AttachPane(main|
00000930  77 32 25 2c 70 61 6e 65  32 25 2c 31 2c 2d 38 36  |w2%,pane2%,1,-86|
00000940  2c 2d 30 29 3a f4 20 74  6f 6f 6c 62 6f 78 20 70  |,-0):. toolbox p|
00000950  61 6e 65 0d 00 4e 39 f2  73 68 65 6c 6c 5f 41 74  |ane..N9.shell_At|
00000960  74 61 63 68 50 61 6e 65  28 6d 61 69 6e 77 32 25  |tachPane(mainw2%|
00000970  2c 70 61 6e 65 33 25 2c  32 2c 30 2c 30 29 20 20  |,pane3%,2,0,0)  |
00000980  20 3a f4 20 74 6f 70 20  70 61 6e 65 0d 00 4f 05  | :. top pane..O.|
00000990  e1 0d 00 50 05 3a 0d 00  51 04 0d 00 52 46 f4 20  |...P.:..Q...RF. |
000009a0  3d 3d 3d 3d 3d 20 49 63  6f 6e 42 61 72 5f 53 65  |===== IconBar_Se|
000009b0  74 55 70 20 72 6f 75 74  69 6e 65 73 20 3d 3d 3d  |tUp routines ===|
000009c0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
*
000009e0  0d 00 53 04 0d 00 54 14  dd 20 f2 53 65 74 55 70  |..S...T.. .SetUp|
000009f0  5f 49 63 6f 6e 42 61 72  0d 00 55 53 73 69 63 6f  |_IconBar..USsico|
00000a00  6e 3d a4 73 68 65 6c 6c  5f 49 63 6f 6e 62 61 72  |n=.shell_Iconbar|
00000a10  28 2d 31 2c 22 21 22 2b  a4 73 68 65 6c 6c 5f 47  |(-1,"!"+.shell_G|
00000a20  65 74 41 70 70 4e 61 6d  65 2c 22 22 2c 31 32 30  |etAppName,"",120|
00000a30  2c 4d 65 6e 75 48 61 6e  64 6c 65 5f 49 63 6f 6e  |,MenuHandle_Icon|
00000a40  42 61 72 25 2c 30 2c 30  2c 30 29 0d 00 56 2c f2  |Bar%,0,0,0)..V,.|
00000a50  73 68 65 6c 6c 5f 41 74  74 61 63 68 48 65 6c 70  |shell_AttachHelp|
00000a60  54 61 67 28 2d 31 2c 73  69 63 6f 6e 2c 22 69 63  |Tag(-1,sicon,"ic|
00000a70  6f 6e 62 61 72 22 29 0d  00 57 3d f2 73 68 65 6c  |onbar")..W=.shel|
00000a80  6c 5f 41 74 74 61 63 68  43 6c 69 63 6b 53 65 6c  |l_AttachClickSel|
00000a90  65 63 74 28 2d 31 2c 73  69 63 6f 6e 2c 22 5f 43  |ect(-1,sicon,"_C|
00000aa0  6c 69 63 6b 53 65 6c 65  63 74 5f 49 63 6f 6e 42  |lickSelect_IconB|
00000ab0  61 72 22 29 0d 00 58 05  e1 0d 00 59 05 3a 0d 00  |ar")..X....Y.:..|
00000ac0  5a 04 0d 00 5b 46 f4 20  3d 3d 3d 3d 3d 20 44 69  |Z...[F. ===== Di|
00000ad0  61 6c 6f 67 5f 50 72 65  4f 70 65 6e 20 72 6f 75  |alog_PreOpen rou|
00000ae0  74 69 6e 65 73 20 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |tines ==========|
00000af0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00000b00  3d 3d 3d 3d 3d 3d 3d 3d  0d 00 5c 04 0d 00 5d 18  |========..\...].|
00000b10  dd 20 a4 5f 50 72 65 4f  70 65 6e 49 6e 66 6f 28  |. ._PreOpenInfo(|
00000b20  77 68 25 29 0d 00 5e 41  f2 73 68 65 6c 6c 5f 49  |wh%)..^A.shell_I|
00000b30  63 6f 6e 50 75 74 44 61  74 61 28 77 68 25 2c 30  |conPutData(wh%,0|
00000b40  2c a4 73 68 65 6c 6c 5f  4d 65 73 73 61 67 65 4e  |,.shell_MessageN|
00000b50  6f 41 72 67 73 28 22 70  72 6f 67 49 6e 66 6f 30  |oArgs("progInfo0|
00000b60  22 29 2c 30 29 0d 00 5f  41 f2 73 68 65 6c 6c 5f  |"),0).._A.shell_|
00000b70  49 63 6f 6e 50 75 74 44  61 74 61 28 77 68 25 2c  |IconPutData(wh%,|
00000b80  31 2c a4 73 68 65 6c 6c  5f 4d 65 73 73 61 67 65  |1,.shell_Message|
00000b90  4e 6f 41 72 67 73 28 22  70 72 6f 67 49 6e 66 6f  |NoArgs("progInfo|
00000ba0  31 22 29 2c 30 29 0d 00  60 41 f2 73 68 65 6c 6c  |1"),0)..`A.shell|
00000bb0  5f 49 63 6f 6e 50 75 74  44 61 74 61 28 77 68 25  |_IconPutData(wh%|
00000bc0  2c 32 2c a4 73 68 65 6c  6c 5f 4d 65 73 73 61 67  |,2,.shell_Messag|
00000bd0  65 4e 6f 41 72 67 73 28  22 70 72 6f 67 49 6e 66  |eNoArgs("progInf|
00000be0  6f 32 22 29 2c 30 29 0d  00 61 41 f2 73 68 65 6c  |o2"),0)..aA.shel|
00000bf0  6c 5f 49 63 6f 6e 50 75  74 44 61 74 61 28 77 68  |l_IconPutData(wh|
00000c00  25 2c 33 2c a4 73 68 65  6c 6c 5f 4d 65 73 73 61  |%,3,.shell_Messa|
00000c10  67 65 4e 6f 41 72 67 73  28 22 70 72 6f 67 49 6e  |geNoArgs("progIn|
00000c20  66 6f 33 22 29 2c 30 29  0d 00 62 06 3d 30 0d 00  |fo3"),0)..b.=0..|
00000c30  63 05 3a 0d 00 64 04 0d  00 65 46 f4 20 3d 3d 3d  |c.:..d...eF. ===|
00000c40  3d 3d 20 44 69 61 6c 6f  67 5f 50 6f 73 74 4f 70  |== Dialog_PostOp|
00000c50  65 6e 20 72 6f 75 74 69  6e 65 73 20 3d 3d 3d 3d  |en routines ====|
00000c60  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00000c70  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 0d 00 66  |=============..f|
00000c80  04 0d 00 67 46 f4 20 3d  3d 3d 3d 3d 20 43 6c 69  |...gF. ===== Cli|
00000c90  63 6b 5f 53 65 6c 65 63  74 20 72 6f 75 74 69 6e  |ck_Select routin|
00000ca0  65 73 20 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |es =============|
00000cb0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00000cc0  3d 3d 3d 3d 3d 3d 3d 0d  00 68 04 0d 00 69 26 dd  |=======..h...i&.|
00000cd0  20 a4 5f 43 6c 69 63 6b  53 65 6c 65 63 74 5f 49  | ._ClickSelect_I|
00000ce0  63 6f 6e 42 61 72 28 77  68 25 2c 69 63 6f 6e 25  |conBar(wh%,icon%|
00000cf0  29 0d 00 6a 23 f2 73 68  65 6c 6c 5f 4f 70 65 6e  |)..j#.shell_Open|
00000d00  57 69 6e 64 6f 77 53 74  61 74 69 63 28 6d 61 69  |WindowStatic(mai|
00000d10  6e 77 25 29 0d 00 6b 24  f2 73 68 65 6c 6c 5f 4f  |nw%)..k$.shell_O|
00000d20  70 65 6e 57 69 6e 64 6f  77 53 74 61 74 69 63 28  |penWindowStatic(|
00000d30  6d 61 69 6e 77 32 25 29  0d 00 6c 06 3d 30 0d 00  |mainw2%)..l.=0..|
00000d40  6d 05 3a 0d 00 6e 04 0d  00 6f 46 f4 20 3d 3d 3d  |m.:..n...oF. ===|
00000d50  3d 3d 20 43 6c 69 63 6b  5f 41 64 6a 75 73 74 20  |== Click_Adjust |
00000d60  72 6f 75 74 69 6e 65 73  20 3d 3d 3d 3d 3d 3d 3d  |routines =======|
00000d70  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00000d80  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 0d 00 70  |=============..p|
00000d90  04 0d 00 71 46 f4 20 3d  3d 3d 3d 3d 20 4d 65 6e  |...qF. ===== Men|
00000da0  75 5f 53 65 6c 65 63 74  20 72 6f 75 74 69 6e 65  |u_Select routine|
00000db0  73 20 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |s ==============|
00000dc0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00000dd0  3d 3d 3d 3d 3d 3d 3d 0d  00 72 04 0d 00 73 1d dd  |=======..r...s..|
00000de0  20 a4 5f 4d 65 6e 75 53  65 6c 65 63 74 5f 51 75  | ._MenuSelect_Qu|
00000df0  69 74 28 62 6c 6b 25 29  0d 00 74 11 5f 63 6c 6f  |it(blk%)..t._clo|
00000e00  73 65 64 6f 77 6e 25 3d  b9 0d 00 75 06 3d 30 0d  |sedown%=...u.=0.|
00000e10  00 76 05 3a 0d 00 77 04  0d 00 78 46 f4 20 3d 3d  |.v.:..w...xF. ==|
00000e20  3d 3d 3d 20 4d 65 6e 75  5f 57 61 72 6e 69 6e 67  |=== Menu_Warning|
00000e30  20 72 6f 75 74 69 6e 65  73 20 3d 3d 3d 3d 3d 3d  | routines ======|
00000e40  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00000e50  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 0d 00  |==============..|
00000e60  79 04 0d 00 7a 46 f4 20  3d 3d 3d 3d 3d 20 44 61  |y...zF. ===== Da|
00000e70  74 61 5f 4c 6f 61 64 20  72 6f 75 74 69 6e 65 73  |ta_Load routines|
00000e80  20 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  | ===============|
00000e90  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00000ea0  3d 3d 3d 3d 3d 3d 3d 3d  0d 00 7b 04 0d 00 7c 46  |========..{...|F|
00000eb0  f4 20 3d 3d 3d 3d 3d 20  44 61 74 61 5f 53 61 76  |. ===== Data_Sav|
00000ec0  65 20 72 6f 75 74 69 6e  65 73 20 3d 3d 3d 3d 3d  |e routines =====|
00000ed0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
*
00000ef0  3d 3d 0d 00 7d 04 0d 00  7e 4c f4 20 3d 3d 3d 3d  |==..}...~L. ====|
00000f00  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 20 45 6e  |============= En|
00000f10  64 20 4f 66 20 55 73 65  72 20 41 70 70 6c 69 63  |d Of User Applic|
00000f20  61 74 69 6f 6e 20 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |ation ==========|
00000f30  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00000f40  3d 3d 0d 00 7f 05 3a 0d  ff                       |==....:..|
00000f49