Nathan Andelin wrote:

No, throwing off all your safeguards would be using internally
defined data structures or "i" specs to define file layouts. Nobody
is suggesting going back to that.

Actually, THAT might be SAFER than using an externally described DS for your buffer.

Far better, in cases like this, to read into a manually-defined DS, with the fields that are of interest (and that are rigidly controlled against being moved) manually defined, and the rest of the record ignored. Or to read into a completely unfielded buffer, and locate your fields by obtaining the meta-data at runtime.

If this scares the <censored> out of you, try doing RLA I/O from C, sometime.

--
JHHL

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