home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
a
/
atlanta
/
!Atlanta
/
!AutoInst
(
.txt
)
next >
Wrap
RISC OS BBC BASIC V Source
|
1997-04-12
|
2KB
|
64 lines
> !Atlanta.!AutoInst
Automatically install fonts in <Atlanta$Fonts>
Version 0.04
0.02 -> 0.03
Better error detection.
Renamed to !AutoInst
0.03 -> 0.04
Fixed to fit in with new system variable standard for Atlanta.
blk% 129:item% = 0
"XHourglass_On"
"XTerritory_Number"
territory%
*messages$ = "Messages"+
(territory%)
"dir_prefix$ = "Atlanta_Fonts_"
'path$ = "<Atlanta$Dir>.Fonts"
lp% = 0
"XOS_File",17,path$+".~f"+
(lp%)
f% = 2
- sys$ = dir_prefix$+"f"+
(lp%)+"$Path"
+
"XOS_CLI","FontRemove "+sys$+":"
"XOS_File",17,path$
f%;flags%
(flags%
f% = 0
f% > 1
#>
"OS_GBPB",12,path$,blk%,1,item%,128,0
,,,r%,item%
r% > 0
blk%!16 = 2
&1
"XOS_GenerateError",blk%+24
dir$
'/ sys$ = dir_prefix$+
dir$,2)+"$Path"
(;
"XOS_CLI","Set "+sys$+" "+path$+"."+dir$+"."
)?
"XOS_CLI","FontRemove "+dir_prefix$+
dir$,2)+":"
*E
"XOS_File",17,path$+"."+dir$+"."+messages$
f%;flags%
f% = 0
,:
"XOS_File",7,path$+"."+dir$+"."+messages$
-@
"XOS_File",18,path$+"."+dir$+"."+messages$,&FFF
/@
"XOS_CLI","FontInstall "+dir_prefix$+
dir$,2)+":"
1
item% = -1
"XHourglass_Off"
("Error AutoInst can not find Atlanta's configured font store.")