Date: Thu, 14 Aug 2003 11:24:53 -0700
Reply-To: m n <iced_phoenix@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: m n <iced_phoenix@YAHOO.COM>
Organization: http://groups.google.com/
Subject: Define an array with previously existing variables?
Content-Type: text/plain; charset=ISO-8859-1
Dear SAS-L,
I realize this is a simple question, though I can't find an explicit answer
to it in the SAS V8 docs. Is it legal in Base SAS to define an array
with previously existing variables? For instance,
data test;
input a b c;
cards;
1 2 3
4 5 6
7 8 9
;
run;
data _null_;
array one {*} a b c;
set test;
run;
data _null_;
set test;
array two {*} a b c;
run;
Are both _null_ data steps legal? Running these steps suggest that they are,
but I can't find documentation to back up that result.
Thanks for your help,
Matt
|