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 (September 2006, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 15 Sep 2006 10:42:18 -0400
Reply-To:     "Liz L." <saslizy@YAHOO.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Liz L." <saslizy@YAHOO.COM>
Subject:      SAS array with FORMAT statement

I have a bunch of variables need to be formated. So I used an array with FORMAT statement. But it did not work. Please help me have a look at it. TIA!!!

data test; a= 1.23568; b= 4.12345; c=46.123456; run;

data test1; set test; array t{*} a b c; do i=1 to dim(t); format t{i} 5.2; /* Not working, why??? */ end; run;


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