Re: A86:Finding file size


[Prev][Next][Index][Thread]

Re: A86:Finding file size




is the var size stored in the vat?
well anyway, this calculates the size of lists & matricies by taking
their item count and multiplying by 10 (or 20 if complex).  that multiply
is done in hl and if it overflows there will be a memory error triggered.
also, for strings, equations, and programs, it takes the first two bytes
(size of var...) and adds 2 (those 2 you just read).  if that overflows,
it triggers a memory error.

-josh


On Fri, 22 Oct 1999 00:30:21 -0600 "David Phillips" <david@acz.org>
writes:
>
>Since data sizes are stored in the VAT as words, wouldn't that be
>impossible?  Or am I missing somethign?
>
>> this will trigger a memory error if the var is >64k
>
>
>

___________________________________________________________________
Get the Internet just the way you want it.
Free software, free e-mail, and free Internet access for a month!
Try Juno Web: http://dl.www.juno.com/dynoget/tagj.


Follow-Ups: