|
Yes, the array will exist independently in each occurrence of the data structure. > -----Original Message----- > From: Loyd Goodbar [mailto:lgoodbar@ispchannel.com] > Sent: Monday, August 20, 2001 5:35 PM > To: midrange-l@midrange.com > Subject: MODS and arrays > > > If I have a structure defined like this: > > d budgetds ds occurs(10) > d BudgetTB 10s 0 inz > d BudgetMan inz like(BudgetTB) > d BudgetSol inz like(BudgetTB) > d BudgetOther inz like(BudgetTB) > d BudgetArray like(BudgetTB) dim(15) > d overlay(budgetds) > > From my understanding, I now have 10 copies of BUDGETDS, > which I switch > between using the OCCUR opcode. > > My question is, do I have 10 copies of BudgetArray? IOW, if I do a > 1 occur budgetds > then evaluate BudgetArray, do I get different values from > 8 occur budgetds > then evaluate BudgetArray? > > Thanks, > Loyd > -- > "How much would you pay for your life?" > "More than I would take to give it up." > lgoodbar@ispchannel.com ICQ#504581 http://lgoodbar2.pointclark.net/ > _______________________________________________
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.