Bingo.... I think this might be the answer I'm looking for!!!

Second array, so simple yet I would have never thought of it.

The array should never have more that 10 entries in it max.

Assuming RPGIV, you don't even need to copy the data.

d dsLongNames...
d ds Qualified
d Occurs(10)
d Based(ptrLongNames)
d LongNameField1...
d 10a
d LongNameField2...
d 10a
... etc

ptrLongNames = %Addr(SynonArray);

Now the storage dsLongNames is the same as the Synon Array so you just
return dsLongNames!

This thread ...


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

This mailing list archive is Copyright 1997-2026 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.