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 (March 1997, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 14 Mar 1997 17:03:37 -0500
Reply-To:     Junming Zhu <jzhu@HSPH.HARVARD.EDU>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Junming Zhu <jzhu@HSPH.HARVARD.EDU>
Organization: Harvard University University Information Systems
Subject:      Macro Quote question
In-Reply-To:  <Pine.SOL.3.91.970314151917.6653A-100000@hsph.harvard.edu>
Content-Type: TEXT/PLAIN; charset=US-ASCII

Thanks to Tom Abernathy and Jay Weedon. They confirmed me to use DOUBLE quote on the macro variable, it works well.

> Suppose I have a macro variable mvar=TEST, I want to know how to add > single ' ' on it so that I can use it in data step? > > > data new (keep=x); > set old; > if x=&mvar; (if x='TEST' is what I want) >

Zhu Junming


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