× 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'm not sure if it's possible, but that would be pretty cool if you could
do that in RPG.  FWIW, I usually try to figure out the maximum possible
size I need the array to be.  If the array needed is to big, I just create
and use a "work file" in qtemp.

hth,

Frank





"Douglas W. Palme" <dpalme@xxxxxxxxxxxxxxxxxxxxx>@midrange.com on
03/29/2005 09:08:08 AM

Please respond to RPG programming on the AS400 / iSeries
       <rpg400-l@xxxxxxxxxxxx>

Sent by:    rpg400-l-bounces@xxxxxxxxxxxx


To:    "RPG Group" <rpg400-l@xxxxxxxxxxxx>
cc:

Subject:    Arrays



In using VB and C I have the ability to dynamically increase an array's
size
from say 50 to 100 without losing the existing data, is this possible in
RPG?

>From all that I have been able to read on arrays in RPG so far I don't see
it as possible, but I'm hoping there is something available that the books
and PDF's don't cover.




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.