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 (August 1999, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 23 Aug 1999 11:50:21 -0700
Reply-To:     "Berryhill, Tim" <TWB2@PGE.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Berryhill, Tim" <TWB2@PGE.COM>
Subject:      Re: Using hex characters in macro code
Comments: To: Janet Stuelpner <jes@ASG-INC.COM>, sas-l <sas-l@uga.cc.uga.edu>
Content-Type: text/plain

I expect you can do it with CALL SYMPUT. Do you really need to? The reason I ask, is, the macro language uses some of the hex characters internally for quoting. That is, when you code %quote('), SAS stores an otherwise unused hex value for the quoted apostrophe. If you force a hex value into a macro variable, you might stumble across one of the values the macro language is using.

Tim Berryhill - Contract Programmer and General Wizard TWB2@PGE.COM or http://www.aartwolf.com/twb.html Frequently at Pacific Gas & Electric Co., San Francisco The correlation coefficient between their views and my postings is slightly less than 0

> ---------- > From: Janet Stuelpner[SMTP:jes@ASG-INC.COM] > Reply To: Janet Stuelpner > Sent: Monday, August 23, 1999 11:50 AM > To: SAS-L@LISTSERV.UGA.EDU > Subject: Using hex characters in macro code > > If I wanted to create a SAS variable whose value contained a hex > character, > I would define it as follows: > hexval='00'x; > Can anyone tell me how to create a macro string with a hex character on > the > front end? >


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