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 (July 1997, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 29 Jul 1997 19:13:37 GMT
Reply-To:     Mark Smith <Mark.Smith@DAL.CA>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Mark Smith <Mark.Smith@DAL.CA>
Organization: Dalhousie University
Subject:      string question
Content-Type: Text/Plain; charset=US-ASCII

Is there a way in SAS to do the following (example is in BASIC code):

x$ = string(20,"0");

after execution, x$ contains 20 zeros. I'm bascially looking for a way in SAS to initialize a var with a string of zero's. The number of zeros' is dependant on some other value so the number of zeros changes with each execution of the datastep.

Thanks,

-- Mark


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