data test;
array test{3} $ test1-test3;
input id test1-test3 $;
do i=1 to dim(test);
put i=;
if test(i)='E' then test(i)='F';
end;
cards;
1 A B E
2 E F C
3 C D A
4 A B A
5 B E E
;
run;
在这段程序中,test有3个元素,i的值最大为3,为什么最后在test数据集中I的值为4???