home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Archive Magazine 1996
/
ARCHIVE_96.iso
/
_archive
/
archive
(
.txt
)
< prev
next >
Wrap
RISC OS BBC BASIC V Source
|
1996-08-28
|
5KB
|
226 lines
--> Archive CD intro
This program and all documentation
David Holden 1996
A_$="0.02":
D_(E_%)
262343,F_%,G_%
262341,,G_%
262342,,G_%
262364,G_%!24
17,18:
G_%!16=0
262351,,G_%+&C0:M_%=G_%!&C8:N_%=G_%:
G_%!4=-1
D_(E_%)
2:O_%=
P_(Q_%,R_%):S_%=Q_%
3:O_%=
P_(T_%,U_%)
4:O_%=
P_(V_%,W_%)
5:O_%=
P_(X_%,Y_%)
6:O_%=
P_(Z_%,a_%)
M_%=1
262356,,b_%,c_%,d_%
e_%,f_%:
262351,,G_%+&C0:M_%=G_%!&C8:N_%=G_%!&C4:f_%=G_%!12:e_%=G_%!16:
e_%=g_%
D_(E_%)
2:c_%=G_%!&C0-120:d_%=464:
262356,,b_%,c_%,d_%
h_%:O_%=
P_(Q_%,R_%):S_%=Q_%
i_%:O_%=
P_(T_%,U_%)
j_%:O_%=
P_(V_%,W_%)
k_%:O_%=
P_(Z_%,a_%)
l_%:O_%=
P_(X_%,Y_%)
e_%=n_%
Q_%:S_%=o_%:O_%=
P_(o_%,p_%)
o_%:S_%=q_%:O_%=
P_(q_%,r_%)
q_%:S_%=Q_%:O_%=
P_(Q_%,R_%)
D_(w%):!s_%=w%:
262347,,s_%:s_%!20=0:s_%!24=0:s_%!28=-1:
262341,,s_%:
P_(p%,n%):
n%-1:
t_(m_%,c%,$p%):p%=
u_(p%):
c%<=v_%:
t_(m_%,c%,""):c%+=1:
t_(m_%,n_%,
w_(1))
t_(m_%,n_%,"")
D_(m_%):
u_(p%):
?p%>13:p%+=1:
:=p%+1
x_(w%,i%,v%):!s_%=w%:s_%!4=i%:
262350,,s_%:s_%!8=0:s_%!12=0:$(s_%!28)=
(v%):
262349,,s_%:
t_(w%,i%,s$):!s_%=w%:s_%!4=i%:
262350,,s_%:s_%!8=0:s_%!12=0:$(s_%!28)=s$:
262349,,s_%:
y_(w%,i%):!s_%=w%:s_%!4=i%:
262350,,s_%:I%=(s_%!28):
?I%>31:I%+=1:
:?I%=13:=$(s_%!28)
z_(w%,i%):!s_%=w%:s_%!4=i%:
262350,,s_%:I%=(s_%!28):
?I%>31:I%+=1:
:?I%=13:=
($(s_%!28))
__(w%,i%):!s_%=w%:s_%!4=i%:
262350,,s_%:
262354,w%,i%,,,-1,
$(s_%!28):
`_(w%,i%):!s_%=w%:s_%!4=i%:
262350,,s_%:
(s_%!24
1<<21):=
A`(m%,i%):
(!(m%+28+(24*i%)))
1=1:=
B`(C`%):
262380,D`%+C`%,-1
e%<(D`%+C`%):=
F`,G`,H`,I`,m%:G`=1:F`=2:I`=4:H`=&80:
J`%&100:m%=J`%:b_%=
K`(m%,"Archive CD",240):m%=
L`("Info",F`,M`%):m%=
L`("Introduction",0,0):m%=
L`("What's on it",0,0):m%=
L`("Copyright",0,0):m%=
L`("Archive",0,0)
L`("Why a CD?",0,0):m%=
L`("Subscribing",F`,0):m%=
L`("Quit",H`,0):
K` (a%,N`$,O`%):$a%=N`$:a%!12=&70207:a%!16=O`%:a%!20=40:a%!24=0:m%=a%+28:=a%
L` (P`$,Q`%,R`%):!m%=Q`%:m%!4=R`%:m%!8=&7000001:$(m%+12)=P`$:=m%+24
S` (T`$,U`%,T`%):!m%=U`%:m%!4=0:m%!8=&7000101:m%!12=T`%:m%!16=-1:m%!20=127:
T`$<>"?" $T`%=T`$
=m%+24
V` (m%,i%):!(m%+36+(24*i%))=!(m%+36+(24*i%))
1<<22:
W` (m%,i%):!(m%+36+(24*i%))=!(m%+36+(24*i%))
(1<<22):
X` (Y`$,Z`%):!G_%=Z`%:G_%!4=-8:G_%!8=0:G_%!12=56:G_%!16=96:G_%!20=&2002:$(G_%+24)="!"+Y`$:
262338,,G_%
I%:=I%
C_(a`$,b`%):
263874:F_%=&C31:!s_%=
:$(s_%+4)="Error "+
)+": "+a`$++
262367,s_%,1,c`%:
262365,d`%,&4B534154:
e`(f`%,a$):s_%!&80=0:$(s_%+&84)=a$+
262367,s_%+&80,16
f`%,c`%
,f`%:=f`%
w_(g`%):
p%:p%=h`%:
g`%>0:
:p%+=1:
?p%<32:p%+=1:g`%-=1:
:=$p%
i`(p%):
?p%>32:p%+=1:
?p%<33:p%+=1:
($p%)
p%,c%:p%=k`%:
l`%-1:
t_(E_%,c%,$p%):p%=
u_(p%):
8,17,n`$+".text"
F%,,,,L%:
1)<>1
0,"Text file not found - unable to continue":
o`% L%+4:E%=o`%+L%:
8,16,n`$+".text",o`%,0:?E%=13:k`%=0:Q_%=0:T_%=0:V_%=0:o_%=0:q_%=0:Z_%=0:X_=0:l`%=0:R_%=0:U_%=0:W_%=0:p_%=0:r_%=0:a_%=0:Y_=0:
I%=o`%
?I%=10 ?I%=13
:I%=o`%:
I%<E%:
$I%,4)
"MAIN":l`%=
i`(I%):I%=
u_(I%):k`%=I%
"ABOU":W_%=
i`(I%):I%=
u_(I%):V_%=I%
"WHAT":R_%=
i`(I%):I%=
u_(I%):Q_%=I%
"COPY":U_%=
i`(I%):I%=
u_(I%):T_%=I%
"MORE":p_%=
i`(I%):I%=
u_(I%):o_%=I%
"EVEN":r_%=
i`(I%):I%=
u_(I%):q_%=I%
"SUBS":a_%=
i`(I%):I%=
u_(I%):Z_%=I%
"WHYC":Y_%=
i`(I%):I%=
u_(I%):X_%=I%
u_(I%):
8,17,n`$+".messages"
F%,,,,L%:
1)<>1
0,"Messages file not found - unable to continue":
h`% L%+4:E%=h`%+L%:
8,16,n`$+".messages",h`%,0:?E%=13:q`%=0:I%=h`%:J%=I%:
I%<E%:
?I%=10
?I%>31:I%+=1:
:I%+=1
:I%+=3:
:?J%=?I%:I%+=1:J%+=1:
?I%<32:?J%=13:I%+=1:J%+=1:q`%+=1
r` (s`%):
T`% s`%,t`%&100:E%=T`%+s`%:
262361,,n`$+".templates":
262363,,u`%,T`%,E%,-1,"info",0
,,R%:
262337,,u`%
262363,,u`%,R%,E%,t`%,"main",0
,,R%:
262337,,u`%
262363,,u`%,R%,E%,t`%,"text",0
262337,,u`%
262362:
t_(M`%,2,v`$):
t_(M`%,3,w`$):
t_(M`%,4,x`$):
t_(M`%,8,"For Archive CD"):
262336,200,&4B534154,"Archive"
y`%,d`%:
y`%<300
0,"This program requires RISC-OS 3 or better":
G_%&180,s_%&100,c`% 24:$c`%="Archive":D`%=
-&8000:u`%=
$+" During initialisation",
35,"Obey$Dir",G_%,256,0,3
,,I%:G_%?I%=13:n`$=$G_%:
B`(&1000)=
w_(0):
r`(&1200):
j`:g_%=
X`("archive",-1):I%=
B`(0):
z`:v`$="Archive CD Intro":w`$="Version "+A_$:x`$="
David Holden 1996":F_%=%110000110001:h_%=17:i_%=18:j_%=19:k_%=20:l_%=21:v_%=28:O_%=
:n_%=29: