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
|