Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: very silly question on $
From
"Li Chuntao (Tony)" <[email protected]>
To
[email protected]
Subject
Re: st: very silly question on $
Date
Sun, 17 Feb 2013 18:09:56 +0800
Thanks, Daniel, it works well!
best
Tony
On Sun, Feb 17, 2013 at 5:36 PM, daniel klein <[email protected]> wrote:
> Tony,
>
> this was discuxsed recently, where the problem was the other was roud
> here : http://www.stata.com/statalist/archive/2013-02/msg00332.html
>
> Use a backslah as an escape character as in
>
> di "this \$A that"
>
> Best
> Daniel
>
> --
> Dear Listers,
>
> Suppose I do not define a global like A, thus if I run the
> following command
> disp "this $A that"
> I will get the following output:
> . disp "this $A that"
> this that
>
> But what if I really want stata to display “this $A that”. How Can I
> define the display code?
>
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/faqs/resources/statalist-faq/
> * http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/