|
On Sat, 23 Feb 2013 11:21:57 -0500, John Yeung wrote:
I don't think that's the way to even think about data structures.
RPG is not THAT high-level a language. An RPG data structure is
not an object with arbitrary attributes. It's not a collection of
arbitrary values. It's just a C struct. It's a chunk of memory
that you can overlay some definitions onto.
Exactly.
And while that works out not-so-good for the specific situation in
question, it works out really great for a lot of other things, such
as overlaying a zoned decimal field or array of unsigned integers on
a character field.
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.