| Processing Variables with Arrays |
| Creating One-Dimensional
Arrays |
| Graphical Display of Array Processing
As the DATA step continues its DO loop iterations, the index variable
data hrd.convert;
set hrd.fitclass;
array wt(6) weight1-weight6;
do i=1 to 6;
wt(i)=wt(i)*2.2046;
end;
run;
Select buttons below to view a series of animated graphics of the DO loop processing array elements. |
![]() ![]() |
|
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.