|23h||FL$BDEL||delete a block file|
|Input||X = addresse of block file name (leading
B = block file type ($82 to $8F)
|Output||- none -|
|Description||Delete a named block file of the
block type B. The file name is a leading byte count string in the form <pack>:<name>,
its addresse is at X. On RAM devices the block file name and the following
long record is deleted and the space is freed. On EPROMs the long record
is not affected.
No error is reported if the file type is outside the range $82-$8F, unless the block file type is less than $80.
LDAB #83h ; block file type for OPL procs LDX #NAME ; address of filename OS FL$BDEL ; delete it BCS ERROR ... NAME: ASCIC "C:MYPROG"
|Errors||194 - battery too low
200 - read pack err
234 - file not found
236 - bad file name
237 - bad record type (if record type <$80 only)
240 - unknown pack
241 - pack not blank
243 - bad device name
244 - read only pack
245 - write pack err
246 - no pack