Thanks for getting back to me..I am monitoring a group variable for multiple people over 8 years. The variables are defined as Var_01_0 for the first person in a group at year 0, and Var_02_0 for the second person in the same group at year 0 and so on. When year changes, Var_01_1 will represent the first person in that group at year 1 and so on . The number of people participated in the experiment, however can change over years. Now, I need to sum all persons' status for the same group at each year, which is why Array A_0(*) was created for year 0, so do the other arrays. Obviously when the person and year change, the value of each variable will change. However, the variables all have similar perfix and surfix. I felt it would be more efficient to use a loop to run sum function than do all sum manully...Do I make my question clear?
... View more