Statalist


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

st: local macro query


From   Höchle, Daniel (MI Switzerland) <daniel.hoechle@rmf.ch>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: local macro query
Date   Mon, 23 Jun 2008 15:33:08 +0200

Dear all,

For a program I would like to create several local macros containing strings of type "A `B' C". Later in my program the string "A `B' C" will be evaluated. Unfortunately, however, I don't manage to include single quotes in local macros. I fully understand that

   . local Test "A `B' C"
   . disp "'Test'"
   A  C

can't be the solution since local macro B is still empty.

Thanks a lot for your suggestions in advance.

Best regards,
Daniel
 
   


Any information in this communication is confidential and may be privileged or otherwise protected from disclosure without our consent. If you are not the intended recipient, you are not authorised to and must not disclose, copy, distribute, or retain this message or any part of it. You are requested to please telephone or email the sender and delete this message and any attachment from your system.
	
Due to the electronic nature of e-mail, there is a risk that the information contained in this message has been modified. Consequently we can accept no responsibility or liability as to the completeness or accuracy of the information.
    
A-03-03-E


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index