|
Let me put it another way. A based data structure defines the data structure elements as having addresses that are offsets from the current address of the based pointer. No flames on the multi-occurrence data structures David, you're essentially correct. A multi occurrence data structure defines an array of x elements where each element has the structures' defined length. The DS subfields are defined based on a pointer. When you do an OCUR it sets the pointer to the relevant array element. > -----Original Message----- > From: david.kahn@gb.abb.com [SMTP:david.kahn@gb.abb.com] > Sent: Wednesday, May 19, 1999 7:26 AM > To: MIDRANGE-L@midrange.com > Subject: Re: Basing Pointers > > > > leif@ibm.net wrote: > > >could someone define for me what 'basing pointers' might mean then? > > A basing pointer holds the address of a based data structure or > standalone > field. By changing the address stored in the pointer the based data > structure > can be relocated within the program's storage. This makes it both > simpler and > more efficient to process lists of data in storage. > > I believe the old multiple occurrence data structure works in a > similar way - > shoot me down in flames someone if I'm wrong. :-) > > Dave Kahn, ABB Steward Ltd. > > > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. > | To unsubscribe from this list send email to > MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.