Could anyone tell me what's wrong with this program? data a.new1; set a.new; n1=0; array k1 {16} k1get k2get k3get k4get k5get k6get k7get k8get k9get k10get k11get k12get k13get k14get k15get k16get; do i = 1 to 16; if k1=1 then n1=n1+1; end; drop i; run; Because an error showed up "Illegal reference to the array k1." Thank you.
... View more