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 (April 1996, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 3 Apr 1996 08:30:45 -0800
Reply-To:     Neil Shatz <triball@CLUON.COM>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Neil Shatz <triball@CLUON.COM>
Organization: A well-installed InterNetNews site
Subject:      Re: Conditional Formats

How about:

%macro chngfrmt; data _null_; retain x 5 y 3; %if y=3 %then %let frmt = 10.2; %else %let frmt = 8.3; format x &frmt; put x=; stop; run; %mend; . %chngfrmt; . .

-- Neil


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