Kurt Anderson wrote:
In 6.1, if you specify that you don't want unused variables, would it
then remove those variables at compile time (before checking for
conflicting field definitions)? I'm guessing no, otherwise you would
have mentioned it, but it seems like it should fall into that
category.


If a variable appears on an O spec, the compiler assumes that the variable is used. It _could_ remember that it had only generated that particular =O spec just in case it was needed later, and only keep that field if the record actually got output or updated, but it doesn't ...

The 6.1 change to eliminate unused variables from the program didn't involve any changes in how the compiler actually determines that a variable is unused.

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.