|
. Storage is initialized on first call after the activation group iscreated. So on repeated calls the old values should still be there.
In V6.1 we are going to get a new program model that will allow us to
use the keyword MAIN in the H spec to specify a sub-procedure that
will be the main procedure.
This eliminates the cycle code but one of the things I have read about
with this is that it eliminates the LR as it no longer has any
meaning.
How does this effect static storage? If I initialize a global variable
and return from the program is the value still there the next time I
call the program or is it gone?
In a service program, the static storage stays around until you close
the activation group. A similar thing here?
We don't have V6.1 yet so I can't test but have been curious about how
this is going to work. .
Thanks.
As an Amazon Associate we earn from qualifying purchases.
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.