Processing Variables with Arrays |
Creating Multidimensional
Arrays |
Write an ARRAY statement to group the variables
Answer1 through Answer40 into a two-dimensional
array that can be processed by the DO loop in this DATA step.
Answer variables supply points to Quiz variables
as follows:
Answer1 -Answer10 Quiz1 Answer11-Answer20 Quiz2 Answer21-Answer30 Quiz3 Answer31-Answer40 Quiz4 |
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.