LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (August 2003, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


Back to: Top of message | Previous page | Main SAS-L page