|
I am curious why you wouldn't just crossfoot the array in that case? --------------------------------- Booth Martin http://www.martinvt.com --------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: 05/19/05 08:54:35 To: RPG programming on the AS400 / iSeries Subject: Re: DS / Overlay keyword Booth, I don't think that would work because I want to be able to reference Part1, Part2, Part3 by using Field(x). For example: For x = 1 to 3 Total += Field(x) EndFor (except in my program I have a lot more than 3 fields) Thanks for the suggestion though, but I think I may have it fixed now... Mike > Why not just: > > > > D Field DS > > D Part1 > > D Part2 > > D Part3 > > > > > > or > > > > D Field DS > > D Part1 s 3 > > D Part2 s 3 > > D Part3 s 3 > > > > depending on whether you need to define Parts 1-3? > > > > > > > > --------------------------------- > > Booth Martin > > http://www.martinvt.com > > --------------------------------- -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. .
As an Amazon Associate we earn from qualifying purchases.
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.