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 (May 2011, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 5 May 2011 07:54:10 -0400
Reply-To:   Søren Lassen <s.lassen@POST.TELE.DK>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Søren Lassen <s.lassen@POST.TELE.DK>
Subject:   Re: Need a reference for how macro functions can undo the quoting functions
Comments:   To: Mary Rosenbloom <mary.rosenbloom.sas@GMAIL.COM>
Content-Type:   text/plain; charset=ISO-8859-1

Mary, %LEFT is not a macro function (such as e.g. %UPCASE or %SUBSTR), but a SAS institute supplied (very old and very inefficient) autocall macro. If you need to know if an autocall macro or macro function quotes its result or not, please refer to the documentation for that macro or function - the %left macro is documented together with the %qleft macro, which does quote its return value.

Regards, Søren

On Mon, 2 May 2011 19:10:28 -0400, Mary Rosenbloom <mary.rosenbloom.sas@GMAIL.COM> wrote:

>Hi all, > >When a macro functions can sometimes remove the effects of quoting >functions when they are used together. An example of this is %left(%bquote >(S&P 500)); > >Does anyone have a reference that explains this phenomenon? I'd like to >site this reference. Thanks for your help! > >Mary R.


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