|
Hans wrote: > What are the benefits (other than just another ticky mark in the > announce letter)? First, you can have one READ read into data > structure A and another read into DS B. Some people might find > that useful, especially if they're using qualified data structures. > Secondly, since the DS matches the layout of the record format, > only one move of a block of bytes is needed, rather than moving > multiple fields, some of which may require data conversion. And > so I/O may be a little faster. OK, performance isn't really that > big an issue - the main thing is providing some additional > flexibility that some programmers have requested. > I see from the voting results (Future RPG IV enhancements) that I/O to ext-desc struct got more than 100 votes, although I didn't spend $2 on it :-). I still can't see that what you describe differs much (if anything at all) from the current capability of the language, as the example I've used below: D rfli04o e ds extname(pfli04) prefix(o_) D rfli04n e ds extname(pfli04) prefix(n_)
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.