Date: Wed, 9 Feb 2005 09:39:20 -0500
Reply-To: ben.powell@CLA.CO.UK
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: ben.powell@CLA.CO.UK
Subject: Re: Howto Parse Macro Variable Into Variables Delimited By Speech
Marks
(solving for y)...
data temp;
x = &leng;
if x > 0 then do;
if mod((x-5),3) = 0 then do;
y = ((5*x)-4)/3;
put y;
end;
end;
else call execute('%put ERROR: Sourcetype length range error;');
drop x;
run;
...
|