|
There are many answers, one of the not so obvious may be to Get the array element you want Array(10) in your case and then substring it, for example: C Array S 60A Dim(100) C EVAL %subst(Array(10) : 35 : 16) = 'Rhinoceros' Bob Cozzi http://www.RPGIV.com > -----Original Message----- > From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On > Behalf Of Rajeev Asthana > Sent: Tuesday, August 10, 1999 8:34 PM > To: rpg400-l@midrange.com > Subject: Multi Dimensional Array > > > Hi All, > > Is there any way to process multi-dimensional array in RPG? > For example, there is a complile time array with 100 records and > each record > with 60 chars. > If I want to change 35th- 50th positions of the 10th records, how > can I do it? > > Any help is appreciated. > > Thanks in advance. > > Rajeev. > > > +--- > | 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 > +---END > > +--- | 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 +---END
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.