× 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.




Is there a way to make local variables persist for the duration of the
program object it was initialized in without regard to the activation
group (meaning w/o saying specify actgrp *New)?

No.

We're not an activation group shop (aside from QILE) at the moment.

I'm not sure that you really wanted to end the actgrp, anyway. That would require much more overhead than just reinitializing the variables would. Instead, just insert code that sets the value of the variable back to it's starting point.

Or, use global variables.

Or, use a more instantiated approach, such as descriptor logic or opaque pointers. (We've discussed that on this list before, with most everyone agreeing that descriptors are a better idea.)


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-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.