Re: A86: Re: Size of programs
[Prev][Next][Index][Thread]
Re: A86: Re: Size of programs
In a message dated 12/13/99 14:50:28 Eastern Standard Time,
ComAsYuAre@aol.com writes:
> In a message dated 12/13/99 10:01:45 Eastern Standard Time,
> croop@oregontrail.net writes:
>
> > >You have to add [some constant] + the length of the name. I think
> >
> > That [some constant] is the size of the VAT entry when you take out the
> > name, right?
>
> I'm pretty sure it's 8 + the length of the name.
3 byte pointer + type byte + length byte + name + folder byte + size word at
beginning of program/string.
For constant-sized vars (such as pics or reals), it would be 6 + name since
there's no size word.
----
Jonah Cohen
<ComAsYuAre@aol.com>
http://linux.hypnotic.org/~jonah/