×
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.
Steve Richter wrote:
the problem with RESET is that it does not work on BASED data structures and
LIKEDS defined data structures. At least using RESET on a based data struct
gives a compile error. Using RESET on a LIKEDS defined struct compiles ok,
but then it does not assign the INZ values from the LIKEDS model struct.
Very confusing.
You want RESET of BASED data structures? Really? Since there's no actual
storage associated with a BASED data structure, we didn't think there
was much point in that. I suppose it could be made to work, provided the
programmer makes sure the basing pointer actually points at valid storage.
For RESET of LIKEDS data structure, the initial value is indeed saved
after the initialization phase. But remember to code INZ(*LIKEDS) if you
want the data structure to be initialized the same way as the data
structure coded on the LIKEDS keyword.
Cheers! Hans
As an Amazon Associate we earn from qualifying purchases.
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.