That's because the compiler is smart enough to
know that an unreferenced variable isn't used and therefore shouldn't
waste memory. (How's that for preemptive garbage
collection/prevention!)

Actually, the memory is still allocated, but the compiler is indeed kind
enough not to bother moving the data from the input structure to local
variables. To see this is the case, bring up the program in debug and
eval the unused field name, you'll get back blanks (or zeros). And you
can even set the values for those fields with the eval statement, so the
memory is there.

-Walden


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2025 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.