|
OK, I'm almost there, Jon, but the last two sentences threw me. Let me be sure I understand what you are saying. So, even though I never actually allocated any storage in the calling program, I could still set the occurrence to different records once I've set the basing pointer to equal the pointer returned from the I/O module? I guess that's the point I was missing. I thought I needed to allocate something in the calling program just so I could move around in the calling program's version of the MODS from one occurrence to another. I would presume, then, that since the calling program's MODS was defined at the maximum, that, if not careful, I could actually set the occurrence to a higher value than what the I/O module had currently allocated and it would still work, although it would be referencing unknown contiguous data? > Second, when the caller received the pointer it would > simply use it to base its own version of the MODS. It would never own any > storage or have to resize anything. It would just reference the storage > owned by the IO routine. > > Jon Paris > Partner400 > > > ************************************************************************************************************************************************************************************************************ This message originates from Lincare Holdings Inc. It contains information which maybe confidential or privileged and is intended only for the individual or entity named above. It is prohibited for anyone else to disclose, copy, distribute or use the contents of this message. All personal messages express views solely of the sender, which are not to be attributed to Lincare Holdings Inc., and may not be copied or distributed without this disclaimer. If you received this message in error, please notify us immediately at MailAdmin@lincare.com or (800) 284-2006. ************************************************************************************************************************************************************************************************************
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.