× 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: SCarter@xxxxxxxxxxx
  • Date: Wed, 27 Jun 2001 16:57:31 -0500


well the whole purpose of this thing is to sort the data into columns on a
subfile/print each of the formatxx fields at the top level combines the
data below it into a total amount.  Part of the problem is after this ds is
filled out the detail files are read and the ds is used to decide which
column to put the values in for the print/display...   Would using pointers
still work with this scenario?



                                                                                
                                          
                    Jim Langston                                                
                                          
                    <jimlangston@conexfr        To:     RPG400-L@midrange.com   
                                          
                    eight.com>                  cc:                             
                                          
                    Sent by:                    Subject:     Re: Data 
Structures with Structures                          
                    owner-rpg400-l@midra                                        
                                          
                    nge.com                                                     
                                          
                                                                                
                                          
                                                                                
                                          
                    06/27/2001 04:13 PM                                         
                                          
                    Please respond to                                           
                                          
                    RPG400-L                                                    
                                          
                                                                                
                                          
                                                                                
                                          



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!





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


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.