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
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?
>
|