Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: very silly question on $


From   "Li Chuntao (Tony)" <leechtcn@gmail.com>
To   statalist@hsphsun2.harvard.edu
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 <klein.daniel.81@gmail.com> 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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index