× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Data Structures with Structures
  • From: Jim Langston <jimlangston@xxxxxxxxxxxxxxxx>
  • Date: Wed, 27 Jun 2001 14:13:29 -0700
  • Organization: Pacer International

I'm not quite sure of all the design specs, but I think that if you
made the separate sub data structures as unique data structures and
mapped them using pointers it would be easier to read, and follow,
the code.

But then, I like using pointers for this kind of thing, so take it 
with a grain of salt.

Regards,

Jim Langston

Me transmitte sursum, Caledoni!

SCarter@rsrcorp.com wrote:
> 
> I know this is really long but I wanted to let you know what I am dealing
> with here.
> I have this very large array it looks like a three level structure  where a
> file is read and fills out the top level then each of the FORMATxx fields
> are used
> to read a different record  and fill out the second level and again the
> FORMATxx records on this level are used to read the file and fill out the
> last level.
> What I am trying to see is there a more intuitive way of performing the
> same function without getting into things like recursion.....
<DATA STRUCTURE SNIPPED>
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.