Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Treat $ as text rather than indicator for global macro?


From   "Ferry, Danielle \(Exchange\)" <[email protected]>
To   <[email protected]>
Subject   st: Treat $ as text rather than indicator for global macro?
Date   Fri, 1 Jun 2007 09:52:28 -0400

Dear Statalisters,

I'm having a little issue which I'm sure one of you wizards will find
trivial and can help me with easily, but is currently stumping me. 

This works fine:
. di "Balance (\$Bn's)"
Balance ($Bn's)

But this doesn't:
. local Y "Balance (\$Bn's)"
. di "`Y'"
Balance ('s)

How can I make it display correctly in the second instance? 

Thanks.

----------------
Danielle H Ferry
Bear Stearns Asset Management
Structured Credit Group
237 Park Avenue, 7th Floor
New York, NY 10017
Tel 212/272-3415
Fax 917/849-2317




***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation,
offer or agreement or any information about any transaction, customer
account or account activity contained in this communication.

Bear Stearns does not provide tax, legal or accounting advice.  You
should consult your own tax, legal and accounting advisors before
engaging in any transaction. In order for Bear Stearns to comply with
Internal Revenue Service Circular 230 (if applicable), you are notified
that any discussion of U.S. federal tax issues contained or referred to
herein is not intended or written to be used, and cannot be used, for
the purpose of:  (A) avoiding penalties that may be imposed under the
Internal Revenue Code; nor (B) promoting, marketing or recommending to
another party any transaction or matter addressed herein.
***********************************************************************

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index