Mike Buess
USA
3037 Posts |
Posted - 11/29/2006 : 07:24:25 AM
|
It doesn't work because col(1) has no values to begin with and adding anything to a missing value yields a missing value. Try this...
layer -c; //count all datasets win -t wks; //new worksheet; col(1)=%[%Z,#1]; for (ii=2;ii<=count;ii++) { col(1) = col(1) + %[%z,#ii]; };
Mike Buess Origin WebRing Member |
 |
|