Date: Fri, 10 Sep 2010 12:36:14 -0700
Reply-To: "Terjeson, Mark" <Mterjeson@RUSSELL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Terjeson, Mark" <Mterjeson@RUSSELL.COM>
Subject: Re: Tab character
In-Reply-To: A<AANLkTinUTtkDOMDWN7m3EX1Loh+uBRdh7jkEDO6c4_Wi@mail.gmail.com>
Content-Type: text/plain; charset="us-ascii"
Hi Joe,
Here is one of those "learn something everyday" moments.
The
"09"x
or
'09'x
with the x modifier does resolve to a character string
of one byte with a value specified when compiled, before
the runtime sees it.
So,
'09'x
and
"09"x
and
byte(9)
are all the exact same result when compiled, a single
character string with a byte value of 9.
Of course the hex value gets converted to decimal
when the byte is created. e.g.
'0D'x
and
byte(13)
are the exact same thing as well.
The '09'x notation is to be treated as a single
character string in your expressions, and the
BYTE() function expects a number.
Hope this is helpful.
Mark Terjeson
Investment Business Intelligence
Investment Management & Research
Russell Investments
253-439-2367
Russell
Global Leaders in Multi-Manager Investing
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Joe
Matise
Sent: Friday, September 10, 2010 12:16 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: Tab character
"09"x is a hex number token (actually, 9)- not a character. Try
BYTE('09'x)
perhaps? Not sure about how that would interface with ODS PDF though.
-Joe
On Fri, Sep 10, 2010 at 2:02 PM, Masoud Pajoh <mpajoh@odot.org> wrote:
> I am writing a pdf file.
> I like to have a TAB character inserted several places like:
> title "this is the" TAB " title, which" Tab " is a test";
> This:
> title "this is the" "09"x " title, which" "09"x " is a test";
> does not work.
>
> What is the correct way.
>
> Masoud
>