Date : Wed, 30 Aug 2006 22:54:15 +0100
From : jgh@... (Jonathan Graham Harston)
Subject: Re: *INFO
>Message-ID: <4e5eaf9a83info@...>
Sprow <info@...> wrote:
> > My programme reads the file length information directly from
> > where it should be in the disc sector for Acorn DFS, which is a
> > bit naughty and very sloppy. I should have used OSFILE really
> > for compatibility with other DFSes.
I don't know of any DFS that does not use the Acorn DFS catalogue
format. It's likely that those that don't already have a *FREE
command in ROM anyway.
> I suppose
> space = 0
> FOR directory = 33 to 126
> changedir(directory)
> space = space + osgbpb(8)
> NEXT
> would do but it's a drawn out process,
But when directory=ASC"a" it will read the files it read when
directory=ASC"A"... except on some DFSs it doesn't!
--
J.G.Harston - jgh@... - mdfs.net/User/JGH
BBC BASIC for Windows and Internationalisation
See http://mdfs.net/Software/BBCBasic/Windows/ProgTips