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



Joep Beckeringh wrote:
> ...
> Barbara,
> 
> Wouldn't recursion be another case that could cause problems? Procedure A 
> reads
> record 1 into a static DS, calls procedure B, which calls procedure A again,
> which reads record 2 in the same static DS. If the first invocation returns a
> pointer to the DS, it would return a pointer to record 2.
> 

Joep, the static DS only has one address no matter which invocation of
the procedure returns it.  That case might be a logic error, since the
contents of the DS would have record 2 and the application might expect
record 1, but the application would still have the ability and/or the
right to use the pointer.  In the other cases, *NEW etc, it would be
incorrect for the application to even use the pointer.


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.