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



I need to create an array pointer that point to a DS that has an array
in it.  Below is what I came up with.  

D listMast        s               *   dim(512)                    
                                                                  
D list            ds                  based(list_p) qualified     
D  lastElem                      5i 0                             
D  item                         50    dim(10000)                    
                                                                  
 /free                                                            
                                                                  
  listMast(1) = %alloc(%size(list.lastElem)+%size(list.item)*100);
  listMast(2) = %alloc(%size(list.lastElem)+%size(list.item)*100);
  *inlr = *on;                                                    
                                                                  
 /end-free                                                        

Question:
Above will not compile because list.item is too big.  Is there a way to
get around this?  I know I can get around it by taking item array out of
the list DS.  However, that kind of break my listMast idea.  Any
suggestion?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.