Date: Fri, 8 Jun 2001 10:48:59 -0400
Reply-To: Jerry Davis <jwd@GAES.GRIFFIN.PEACHNET.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jerry Davis <jwd@GAES.GRIFFIN.PEACHNET.EDU>
Subject: Variable values as column labels
Content-Type: text/plain; charset="US-ASCII"
A user asked me if it was possible to use the value generated from an
arithmetic operation in a label statement. Ideally, something like:
label degday=year1 - year 2;
So the value of degday would appear as the label, not the string 'year1
- year2';
I think I have seen this done before but couldn't find anything in the
manuals or sample library. For the record, I hate doing this sort of
thing and don't see why people want to change SAS' default output. :)
Thanks for any help.
Jerry
--
Jerry Davis
Experimental Statistics
UGA, CAES, Griffin Campus
|