Date: Tue, 27 Nov 2007 01:33:47 +0000
Reply-To: jay.wind@ATT.NET
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jay Jacob Wind <jay.wind@ATT.NET>
Subject: Do loop for array
I had another thought about John's question.
To define all the X variables as an array, one can use SAS "--" notation,
which applies to variable by position.
Even though not all suffixes 11-32 are used, Since all X variables are created in sequence, one can write
ARRAY XX X11--X32;
or
ARRAY XX{i} X11--X32;
--
-- Thank you
-- Jay Jacob Wind
|