home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
hensa
/
menus
/
deskmen_2
/
!DeskMen
/
!RunImage
(
.txt
)
< prev
next >
Wrap
RISC OS BBC BASIC V Source
|
1996-04-16
|
20KB
|
976 lines
DeskMen 2.01
(c) 1993,94,95,96 Ian Clark
Started (v2.00): 01:28:44 12-Mar-1995
$+" at line "+
263872:A_$="2.01 (04 Apr 1996)":
C_(D_%,2,
C_(D_%,3,
E_("<DMen$Scrap>.DeskMen.SwapFile")
131077,"Wipe <DMen$Scrap>.DeskMen.SwapFile F~C~V"
F_("DeskMen intro")
262343,,G_%:
I_("<DMen$Menu>"):
J_% K_%=0:
L_(0):
M_(-2,N_%,1)
263873:
262343,&83033,G_%
262369,&83033,G_%,100
S_(G_%!12,G_%!16,G_%!8,!G_%,G_%!4)
T_(!G_%,G_%!4,G_%!24,G_%!8,G_%!12)
262354,-1,-1
17,18:
V_(G_%!16,G_%!12,G_%!4,!G_%)
262351,,G_%:
G_%!12<>W_%
G_%!12<>X_%
L_(K_%)
G_%!16>-6
Y_(W_%,-1)
267524,a_%:
30,7,,a_%:
262365:
262341,,G_%
262342,,G_%:!G_%=e_%:
262342,,G_%:f_%=
262342,,G_%:!G_%=X_%:
262342,,G_%:O_%=
262342,,G_%
G_% 1024:
g_% 24:
h_% 512:!G_%=0:
262336,310,&4B534154,"DeskMen",G_%
A_%,i_%:
A_%<316
0,"DeskMen requires Risc OS 3.10 or later!"
262343,,G_%
j_%=0:
262386,2
l_%:l_$=
m_(l_%):n_$="<DMen$Dir>.Resources.Sprites"+l_$:
8,13,n_$
o_%<>1
n_$="<DMen$Dir>.Resources.Sprites"
8,13,n_$
,,,,p_%:p_%+=4:
q_% p_%:!q_%=p_%:q_%!8=16:
46,&209,q_%:
46,&20A,q_%,n_$:r_%=0:s_%=0:t_%=0:u_%=0:v_%=0:
262361,,"<DMen$Dir>.Resources.Templates":
262363,,-1,-1,,-1,"Info",0
,b%,i%,,,,t_%:
t_%>0 s_%+=i%
b%>r_% r_%=b%
262363,,-1,-1,,-1,"Error",0
,b%,i%,,,,t_%:
t_%>0 s_%+=i%
b%>r_% r_%=b%
262363,,-1,-1,,-1,"Menu",0
,b%,i%,,,,t_%:
t_%>0 s_%+=i%
b%>r_% r_%=b%
262363,,-1,-1,,-1,"Menupane",0
,b%,i%,,,,t_%:
t_%>0 s_%+=i%
b%>r_% r_%=b%
262363,,-1,-1,,-1,"Save",0
,b%,i%,,,,t_%:
t_%>0 s_%+=i%
b%>r_% r_%=b%
262363,,-1,-1,,-1,"Opts",0
,b%,i%,,,,t_%:
t_%>0 s_%+=i%
b%>r_% r_%=b%
262363,,-1,-1,,-1,"Opt1",0
,b%,i%,,,,t_%:
t_%>0 s_%+=i%
b%>r_% r_%=b%
262363,,-1,-1,,-1,"Opt2",0
,b%,i%,,,,t_%:
t_%>0 s_%+=i%
b%>r_% r_%=b%
262363,,-1,-1,,-1,"pass",0
,b%,i%,,,,t_%:
t_%>0 s_%+=i%
b%>r_% r_%=b%
262363,,-1,-1,,-1,"Loading",0
,b%,i%,,,,t_%:
t_%>0 s_%+=i%
b%>r_% r_%=b%
qr_%=
w_(r_%):
r_%=-1
0,"Fatal error during initalisation: Unable to claim memory to load window definitions!"
x_%=s_%+1:
s_% s_%:t_%=0:
262363,,r_%,s_%,s_%+x_%,-1,"Error",0
,,t_%:r_%!64=q_%:
262337,,r_%
262363,,r_%,t_%,s_%+x_%,-1,"Info",0
,,t_%:r_%!64=q_%:
262337,,r_%
262363,,r_%,t_%,s_%+x_%,-1,"Loading",0
,,t_%
r_%!64=q_%:
262337,,r_%
262363,,r_%,t_%,s_%+x_%,-1,"Menu",0
,,t_%:r_%!64=q_%:
262337,,r_%
262363,,r_%,t_%,s_%+x_%,-1,"Menupane",0
,,t_%:r_%!64=q_%:
262337,,r_%
262363,,r_%,t_%,s_%+x_%,-1,"Opts",0
,,t_%
r_%!64=q_%:
262337,,r_%
262363,,r_%,t_%,s_%+x_%,-1,"Opt1",0
,,t_%:r_%!64=q_%:
262337,,r_%
262363,,r_%,t_%,s_%+x_%,-1,"Opt2",0
,,t_%:r_%!64=q_%:
262337,,r_%
262363,,r_%,t_%,s_%+x_%,-1,"Pass",0
,,t_%
r_%!64=q_%:
262337,,r_%
262363,,r_%,t_%,s_%+x_%,-1,"Save",0
,,t_%:r_%!64=q_%:
262337,,r_%
262362:
D`(r_%):E`$="<DMen$Dir>.Resources.Messages":
267520,,E`$
,,p_%;F`%
0,"Fatal error during initialisation: Unable to access message file!"
30,6,,,20+
,,a_%:$(a_%+16)=E`$:h_%=
w_(p_%):
267521,a_%,a_%+16,h_%:G`%=
:H`%=0:I`%=0:J`%=
:f_%=
:O_%=
:K`%=0:K_%=0:J_%=
:Z_%=
:L`%=0:e_%=`_%:M`%=0:N`%=-1:O`%=0:P`%=
:Q`%=
w_(1024)
Q`%=-1
0,"Fatal error during initialisation: Unable to start due to shortage of memory!"
R`% 14:!R`%=%111:$(R`%+4)="1234"+
S`:O`%=(!R`%>>4)
(!R`%
1<<6)>0 P`%=
xT`%=
w_(134):!T`%=X_%:T`%!4=0:
262350,,T`%:
262340,,T`%:T`%!40=X_%:
262348,,T`%+40:
V`(z_%,3,A_$,0):
T_(w%,i%,k%,x%,y%):
S_(b_%,0,4,0,0)
262364,k%
W`:!G_%=-1:G_%!4=0:G_%!8=-16:G_%!12=68:G_%!16=90:G_%!20=&1700301A:$(G_%+24)="!deskmen":
262338,,G_%
Y`$:Y`$=
Z`("BM00"):D_%=
w_(28+(24*5)):
D_%=-1
b`("ER01",
Z`("ibmenu"))):
$D_%=Y`$:c`%=(
Y`$-1)*16:D_%?12=7:D_%?13=2:D_%?14=7:D_%?15=0:D_%!20=44:D_%!24=0:
Z`("BM01"),2,1,D_%,z_%):
Z`("BM02"),0,2,D_%,-1):
Z`("BM03"),0,3,D_%,-1):
Z`("BM04"),2,4,D_%,C`%):
Z`("BM05"),&80,5,D_%,-1)
D_%!16=c`%:
S_(w%,i%,b%,x%,y%):
J_% K_%=0:
L_(0):
M_(-2,N_%,1)
262356,,D_%,x%-64,96+(44*5)+(24*2):f`%=D_%
h`(b_%):
1:!G_%=b_%:
5,6:k`%=
:!G_%=w%:G_%!4=1:
262352,,G_%
-1:!G_%=b_%:G_%!4=1:
262352,,G_%
1:K_%=K`%:
L_(K_%)
2:e`%=
%10)>0
l` e`%=
272002,0
3:e`%=
l` e`%=
Y_(-1,-1):!G_%=W_%:
m`(i%)
:!G_%=w%:G_%!4=1:
262352,,G_%
n`%,o`%,p`%:o`%=5:n`%=0:
q`(b_%,o`%)
n`%=o`%
o`%+=1:
n`%>0
o`%=7:
r`(b_%,5,
):p`%=`_%
5:p`%=`_%
6:p`%=A`%
e_%=p`%
dB!G_%=e_%:
262342,,G_%:e_%=p`%:
f_% !G_%=b_%:
262347,,G_%:
t_%,s`%:f_%=
:u_%=G_%!4:v_%=G_%!16:t_%=G_%+32:!t_%=e_%:
262347,,t_%:s`%=t_%!8-t_%!16:u_%+=284:v_%-=20:t_%!4=u_%:t_%!16=v_%:t_%!8=v_%-s`%:t_%!28=G_%!28:
262341,,t_%:
262347,,t_%:s`%=t_%!8-t_%!16:t_%!4=u_%:t_%!16=v_%:t_%!8=v_%-s`%:t_%!28=G_%!28:
262341,,t_%:J`%=
:G_%!28=e_%:
262341,,G_%:
t_%,s`%:u_%=G_%!4:v_%=G_%!16:t_%=G_%+32:!t_%=X_%:
262347,,t_%:s`%=t_%!8-t_%!16:u_%+=22:v_%-=14:t_%!4=u_%:t_%!16=v_%:t_%!8=v_%-s`%:t_%!28=-1:t_%!28=G_%!28:
262341,,t_%:G_%!28=X_%:
262341,,G_%:
t`%,u`%,v`$,w`$:
V`(B`%,1,"",0):
h`(B`%):
262354,B`%,1,,,-1,-1:
Y_(B`%,-1):t`%=
262343,,G_%
G_%!16=2
G_%!24=&D
17,18:
G_%!16=0 Z_%=
:t`%=
:!G_%=B`%:
262342,,G_%:u`%=
:v`$=
x`(B`%,1):w`$=
m_(R`%+4):
P`% v`$=
y`(v`$):w`$=
y`(w`$)
v`$=w`$
Z`("incorrect"))
Y_(W_%,-1):=u`%
t_%,u`%:t_%=4:
3:u`%=
(!R`%
1<<x%)u`%=
r`(`_%,x%,u`%):
2:u`%=
(!R`%
1<<t_%)u`%=
r`(A`%,x%,u`%):t_%+=1:
V`(A`%,4,
m_(R`%+4),-1):
t_%,e`%:t_%=0:
3:!R`%=!R`%
(1<<t_%):
q`(`_%,x%)!R`%=!R`%
1<<t_%
Ct_%+=1:
2:!R`%=!R`%
1<<t_%:
q`(A`%,x%)!R`%=!R`%
1<<t_%
Et_%+=1:
:$(R`%+4)=
x`(A`%,4):
262351,,G_%:
G_%!8<>1 !G_%=b_%:
0O`%=(!R`%>>4)
(!R`%
1<<6)>0 P`%=
R`$,t_%,z`%:z`%=14:
z`%:R`%?x%=R`%?x%
:R`$="<DMen$Options>.DMenOpts":
131080,10,R`$,&FFD,,R`%,R`%+z`%
t_%;F`%:
_`("ER02",
m_(t_%+4),
Z`("saveopts")))
z`%:R`%?x%=R`%?x%
R`$,t_%,z`%:z`%=14:R`$="<DMen$Options>.DMenOpts":
131080,17,R`$
t_%,,,,``%;F`%:
t_%=0
``%<>z`%
131080,16,R`$,R`%,0
t_%;F`%:
_`("ER02",
m_(t_%+4),
Z`("loadopts")))
z`%:R`%?x%=R`%?x%
V_(j_%,Aa%,Ba%,``%):
0:Z_%=
G_%!40
&FFF:
m_(G_%+44),"<DMen$Menu>"):
I_("<DMen$Menu>")
&317:
m_(G_%+44))
&400C2:
H`%=G_%!4:
I`%=1
7!G_%=20:G_%!12=0:G_%!16=0:
262375,17,G_%,H`%:H`%=0
I`%=0
Y_(-1,-1):!G_%=W_%:
R_:O_%=
(!R`%
1)=0 Z_%=
&400C3:
H`%=G_%!4
L_(K_%)
Da(w%,i%):
i%=N_%
Ea("iconbar")
Ea("infowindow"+
Ea("main"+
Ea("stat"+
h`(b_%):
4:Z_%=
Ca(Ha$,Ia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=2:
m_(Qa%+p%))
sa(Ha$):
ta%,Ja%,t_%,ua%,va%:
(!R`%
%10)>0
(!R`%
1)>0 ta%=
I`%=0
Ha$,1)="*"
v?$(G_%)="Deskmen: "+Ha$:
262383,G_%:
131077,Ha$:
262383,0
131080,23,Ha$
ua%,,,,,,va%;F`%:
b`("ER12",
b`("error",
m_(ua%+4)))):
ua%=0
b`("ER12","notfnd")):
ua%=2
va%=&1000
b`("ER12","dirfnd")):
39,"<DMen$Dir>",G_%,256:
8,8,"<DMen$Scrap>.DeskMen",0:
131077,"Wipe <DMen$Scrap>.DeskMen.Swapfile F~C~V":
13,&80,"<DMen$Scrap>.DeskMen.Swapfile"
#Ja%,"| DeskMen 2.0":
#Ja%,"|"
#Ja%,"| This is the swap file for the DeskMen applicaition":
#Ja%,"| It allows the main application to be removed from memory":
#Ja%,"| This file should be open.":
#Ja%,"":
#Ja%,"/"+Ha$:
#Ja%,"":
#Ja%,"/"+
m_(G_%)+".!Boot"
#Ja%,"WimpSlot -min 64k -max 64k":
#Ja%,"/"+
m_(G_%)+".!RunImage":
13,0,Ja%:
8,18,"<DMen$Scrap>.DeskMen.SwapFile",&FEB:
Y_(-1,-1):O_%=
5,"Filer_Run <DMen$Scrap>.DeskMen.SwapFile":Z_%=
Ha$,1)="*"
131077,"WimpTask "+Ha$
:G`%=
131077,"Filer_Run "+Ha$
t_%;F`%:
b`("ER11",
m_(t_%+4))):G`%=
Ha$,1)="*"
131077,"WimpTask "+Ha$
131077,"WimpTask "+Ha$
t_%;F`%:
b`("ER11",
m_(t_%+4)))
k_:wa%=
xa%:ya%=wa%-&8000:
262380,ya%+xa%,-1
ya%:za%=ya%+&8000:
za%<=wa%
0,"Fatal error during initialisation: Insufficiant memory for heap. Free some memory then try again!"
29,0,wa%,,za%-wa%:
w_(p_%):
t_%,_a%,`a%,p%:t_%=0:
29,1,wa%
,,_a%:p_%=(p_%
8)*8+8:
_a%<=p_%+8
jp%=1+(p_%
xa%):
262380,ya%+(p%*xa%),-1
ya%:`a%=za%:za%=ya%+&8000:
29,5,wa%,,za%-`a%:
29,1,wa%
,,_a%
_a%<p_% t_%=-1
t_%<>-1
29,2,wa%,,p_%
,,t_%
ca(p_%,Ab%):
t_%,_a%,`a%,p%:
Ab%=-1
w_(p_%)
:t_%=0:
29,1,wa%
,,_a%:p_%=(p_%
8)*8+8:
_a%<=p_%
yp%=1+(p_%
xa%):
262380,za%+(p%*xa%),-1
ya%:`a%=za%:za%=ya%+&8000:
29,5,wa%,,p%*xa%:
29,1,wa%
,,_a%:
_a%<p_% t_%=-1
t_%<>-1
131101,4,wa%,Ab%,p_%
,,t_%;F`%
1 t_%=-1
:=t_%
t_%):
_a%,Bb%:
t_%>-1
29,3,wa%,t_%:
29,1,wa%
,,_a%:
_a%>xa%
"=Bb%=0:F`%=0:
131101,5,wa%,,-xa%
;F`%:
1)=0 Bb%+=1
262380,ya%-(Bb%*xa%),-1
ya%:za%=ya%+&8000
29,5,wa%,,(za%-wa%)-wa%!12
:t_%=-1:
Z`(Cb$):=
_`(Cb$,"","")
b`(Cb$,Db$):=
_`(Cb$,Db$,"")
_`(Cb$,Db$,Eb$):Cb$=Cb$+":"+Cb$:
267522,a_%,Cb$,h_%,256,Db$,Eb$
,,Ia$:=Ia$
a`(oa$):
$+" at line "+
39,oa$,G_%,256:oa$=
m_(G_%):
6,21,0:
263874:
M_(y_%,4,1):!G_%=y_%:G_%!4=3:
262350,,G_%:$(G_%!32)="sprogram":
V`(y_%,0,oa$,0):!G_%=y_%:
262348,,G_%:$(G_%!76)=
Z`("message?"):
h`(y_%):
Y_(y_%,-1):
262355,,g_%
262354,-1,-1:Fb%=
262343,0,G_%
262341,,G_%
262342,,G_%
G_%!16=1 Fb%=
G_%!24=&0D Fb%=
Fb%:!G_%=y_%:
262342,,G_%:
393426,!g_%,g_%!4,g_%!8,g_%!12,g_%!16,g_%!20:
M_(y_%,4,0):
Y_(-1,-1):
Gb(oa$):
6,21,0:
263874:
h`(y_%):!G_%=y_%:G_%!4=3:
262350,,G_%:$(G_%!32)="serror":
V`(y_%,0,oa$,0):!G_%=y_%:
262348,,G_%:$(G_%!76)=
Z`("error?"):
Y_(y_%,-1):
262355,,g_%:
262354,-1,-1:Fb%=-1:
262343,0,G_%
262341,,G_%
262342,,G_%
G_%!16=1
G_%!16=4 Fb%=G_%!16
G_%!24=&0D Fb%=1
G_%!24=&1B Fb%=4
Fb%>-1:!G_%=y_%:
262342,,G_%:
393426,!g_%,g_%!4,g_%!8,g_%!12,g_%!16,g_%!20:
Y_(-1,-1):
Fb%=4 Fb%=0
$+" at line "+
"Hb%=L`%:
L`%-Hb%<200
Gb("Possible fatal error: "+
$+","+
+". The program may be stuck in a error loop, CANCEL quits immeadiatly (Not cleanly!) CONTINUE continues"):
Ib%=0
262365:
:L`%=0
:Ib%=
_`("ER00",
0:Z_%=
Jb(oa$):
$+" at line "+
6,21,0:
263874:
h`(y_%):!G_%=y_%:G_%!4=3:
262350,,G_%:$(G_%!32)="squestion":
V`(y_%,0,oa$,0):!G_%=y_%:
262348,,G_%:$(G_%!76)=
Z`("query?"):
Y_(y_%,-1):
262355,,g_%:
262354,-1,-1:Fb%=-1:
262343,0,G_%
262341,,G_%
262342,,G_%
G_%!16=1
G_%!16=4 Fb%=G_%!16
G_%!24=&0D Fb%=1
G_%!24=&1B Fb%=4
Fb%>-1:!G_%=y_%:
262342,,G_%:
262343,%1110000110010111000,G_%
j_%=3
262342,,G_%
j_%=0:
262354,!g_%,g_%!4,g_%!8,g_%!12,g_%!16,g_%!20:
Y_(-1,-1):
Fb%=4 Fb%=
:=Fb%
h`(Kb%):
x%,y%,Lb%,Mb%,Nb%,Ob%,w%,h%:G_%!0=4:G_%!4=5:G_%!8=11:G_%!12=12:G_%!16=-1:
49,G_%,G_%+20:Nb%=1<<(G_%!20):Ob%=1<<(G_%!24):Lb%=(G_%!28+1)*Nb%:Mb%=(G_%!32+1)*Ob%:G_%!0=Kb%:
262347,,G_%:w%=G_%!12-G_%!4:h%=G_%!16-G_%!8
ex%=(Lb%-w%)/2:y%=(Mb%-h%)/2:G_%!4=x%:G_%!8=y%:G_%!12=x%+w%:G_%!16=y%+h%:G_%!28=-1:
262341,,G_%:
V`(w%,i%,t$,d%):
Pb%,G_%:G_%=
w_(40):
G_%=-1
b`("ER01","update")):Z_%=
i!G_%=w%:G_%!4=i%:
262350,,G_%:$(G_%!28)=t$:G_%!4=G_%!8:G_%!8=G_%!12:G_%!12=G_%!16:G_%!16=G_%!20:
)G_%!4+=4:G_%!8+=4:G_%!12-=4:G_%!16-=4
262345,,G_%
262346,,G_%
D`(G_%):
Y_(w%,i%):
x%,y%:
w%<>-1
!G_%=w%:
i%=-1
262347,,G_%:
G_%!4,G_%!8,G_%!12-G_%!4,G_%!16-G_%!8
262347,,G_%:x%=G_%!4:y%=G_%!16:G_%!4=i%:
262350,,G_%:
G_%!8+x%,y%+G_%!12,G_%!16-G_%!8,G_%!20-G_%!12
5,"Pointer"
M_(w%,i%,Qb%):!G_%=w%:G_%!4=i%:G_%!8=0<<23:G_%!12=1<<23:
Qb%=0
262349,,G_%
262340,,G_%
d`(ra$,Rb%,ra%,K_%,Sb%):
ra$>12
_`("ER03",ra$)
ra$+1)*16>c`%
c`%=(
ra$+1)*16
7fP%=K_%+28+(24*(ra%-1)):
21:[:OPT 0:EQUD Rb%:EQUD Sb%:EQUD&7000021:EQUS ra$+
ra$-1),
0):]:
t_%,ua%,Ha$:
262356,-1:t_%=0:ua%=
272001,t_%,G_%,16
m_(G_%!4)="StrongHelp" ua%=
t_%<0
Q}ua%=!G_%:!G_%=256:G_%!12=0:G_%!16=&43B00:$(G_%+20)="Help_Word <DMen$Dir>.Resources.RTracker !Root"+
262375,17,G_%,ua%
131107,"StrongHelp$Dir",G_%,-1
,,ua%:
ua%<0
262366,"/<StrongHelp$Dir>.!Run":t%=
:ua%=
262343,,G_%
j_%=0:Ub%=
Tb:Ub%=
8,17,"<DMen$Dir>.!StrongHlp"
ua%=2
262366,"/<DMen$Dir>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F:G_%!36=&7FFFFFFF:
271360,197,1,"File_157",G_%+8
262352,,G_%
Ha$,hb$,t_%:
402433
262351,,G_%:G_%!20=G_%!12:G_%!24=G_%!16:G_%!28=!G_%:G_%!32=G_%!4:G_%!36=18:G_%!40=&157:!G_%=64:G_%!12=0:G_%!16=1:Ha$=
x`(C`%,2):t_%=
Ha$,t_%,1)<>"."
t_%>0:hb$=
Ha$,t_%,1)+hb$:t_%-=1:
:$(G_%+44)=hb$
262375,18,G_%,G_%!20,G_%!24:ib%=0:
jb(Ha$):
Ha$=0
Z`("ER06")):
Ha$,".")=0
131107,
Ha$,2)),G_%,-1
,,ua%:
ua%>=0
Z`("ER07")):
131080,10,Ha$,&157,,kb%,kb%+lb%
t_%;F`%:
_`("ER02",
m_(t_%+4),
Z`("savelist"))):
Ha$="<Wimp$Scrap>"
Ha$="<DMen$Scrap>"
\!G_%=256:G_%!12=G_%!8:G_%!16=3:G_%!36=-1:G_%!40=&157:$(G_%+44)=Ha$:
262375,18,G_%,G_%!4
nb%:nb%=ib%:
ib%+G_%!24>lb%
ib%=lb%
ib%+=G_%!24
262385,i_%,kb%+nb%,G_%!4,G_%!20,ib%-nb%:G_%!12=G_%!8:G_%!16=7:G_%!24=ib%-nb%:
262375,18,G_%,G_%!4:
D`(kb%)
kb%=
w_(1024):lb%=0:
kb%=-1
Ucb%=
pb(-1,-1):
r`(Fa%,22,cb%):
C_(D_%,3,cb%):
C_(qb%,3,cb%):
C_(qb%,0,cb%):
:G_%!12=G_%!8:G_%!16=6:G_%!20=kb%:G_%!24=1024:!G_%=28:
262375,18,G_%,G_%!4:ib%=-1
sb:ib%=0:lb%+=G_%!24:
G_%!24<1024
:kb%=
ca(1024,kb%):
kb%=-1
0Qcb%=
pb(-1,-1):
r`(Fa%,22,cb%):
C_(D_%,3,cb%):
C_(qb%,3,cb%):
C_(qb%,0,cb%)
:!G_%=28:G_%!12=G_%!8:G_%!16=6:G_%!20=kb%+lb%:G_%!24=1024:
262375,18,G_%,G_%!4
t_%,Ha$:
ib%=0
:tb%=1:t_%=kb%:ub%=-1:vb$=
qa(t_%):
t_%<kb%+lb%:Ha$=
qa(t_%):t_%+=1:ub%+=1:
:cb%=
C_(D_%,3,cb%):
C_(qb%,3,cb%):
pb(tb%,ub%):
C_(qb%,0,cb%):
r`(Fa%,22,cb%):
G_%!16=6
Vg!G_%=256:G_%!12=G_%!8:G_%!16=2:G_%!36=-1:G_%!40=&157:$(G_%+44)="<DMen$Scrap>":
262375,17,G_%,G_%!4
y`(t$):
x%,l$,a%:
t$:a%=
t$,x%,1)):
a%>96
a%<123 a%=a%
%11011111
xb(w%,i%,u`%):
u`% u`%=1
u`%=0
k?!G_%=w%:G_%!4=i%:G_%!8=u`%<<22:G_%!12=1<<22:
262349,,G_%:
F_(hb$):
ua%,t_%:t_%=0:ua%=
272001,t_%,G_%,16
m_(G_%!4)=hb$ua%=
t_%<0
ua%:=ua%