Re: A89: Routine Question
[Prev][Next][Index][Thread]
Re: A89: Routine Question
Heres the VAT format:
00 09 - This is the number of files/folders in the table
00 0A - This is the number of files/folder entries that the table can
contain before needing to be resized
after that, the individual entries start:
They're formatted like this:
00 00 00 00 00 00 00 00 00 - 9 bytes for the name
00 00 00 - 3 state bytes (these tell if the file is
locked/hidden/archived/folder)
00 00 00 00 - handle
So each entry is 14 bytes long.
Andrew
p.s. Scott... remember that you didn't know anything about the VAT till I
came along... so take some time to explain it to others... :)
----- Original Message -----
From: Juan Corral <juancorral@lvcm.com>
To: <assembly-89@lists.ticalc.org>
Sent: Wednesday, April 19, 2000 11:19 AM
Subject: Re: A89: Routine Question
>
> I'm sorry for wasting your guy's time. May I ask, were is this "VAT
Format"
> information?
>
> Thank you for the quick answer as well.
>
> Juan
>
> ----- Original Message -----
> From: "Scott Noveck" <noveck@pluto.njcc.com>
> To: <assembly-89@lists.ticalc.org>
> Sent: Wednesday, April 19, 2000 7:39 AM
> Subject: Re: A89: Routine Question
>
>
> >
> > > I have a question for the ASM-89 GODS, anyways, I'm making a shell
right
> > > (advfm) and I wanted to display the number of files within a folder in
> the
> > > status bar. I have the handle of the folder in d0, and I was
wondering
> if
> > > this could be done (I think Doors-Explorer shows it next to the name
of
> > the
> > > folder).
> >
> > At least look at the VAT format before wasting out time here =) DEREF
the
> > handle and the first word is the number of files in the folder - it's
> right
> > there for you.
> >
> > -Scott
>
>
>
Follow-Ups:
References: