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 (September 2007, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 10 Sep 2007 13:04:30 -0700
Reply-To:   jonathan.harris8@GMAIL.COM
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   jonathan.harris8@GMAIL.COM
Subject:   Re: proc gplot legend question
Comments:   To:
In-Reply-To:   <>
Content-Type:   text/plain; charset="us-ascii"

I'm sure there's a better way to do this, but I handle such situations by creating a macro variable that includes the n= and the ( ). For example:

ods output onewayfreqs=n; proc freq data=one; table study; run;

data _null_; set n; npre="(n="||compress(put(frequency,2.))||")"; call symput ("npre",npre); run;

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