× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



<Mel>
Question #2
-----------
The actual storage occupied by a varying variable is 2 + its declared size.

The additional 2 bytes are located at the beginning of the field and contain
its length.

The maximum declared size for a varying field is 65535, making the maximum
actual size including the length 65537.
</Mel>

Just so I have this straight. . .  I won't get a gain on not using as much
memory because it will allocate the defined length even if I only use 1
character, but where I will gain is whenever that field is used it will be
easier to process it because it will only have to work with the first
character (in this example that is)...?  

The reason I am asking this question is that when I go into debug and a view
a 32767 field I can see my data, and then when my data ends I can see
various pieces of memory in the rest of the 32767 field.  That tells me it
either hasn't allocated the space or the debugger doesn't understand varying
length fields.  Any comments on this?

Thanks for everyone's responses,

Aaron Bartell


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.