Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: RE: Macro question


From   Fred Wolfe <[email protected]>
To   [email protected]
Subject   RE: st: RE: Macro question
Date   Tue, 15 Mar 2005 10:50:09 -0600

That was the probelm.

Thanks!


At 10:42 AM 3/15/2005, you wrote:
I am not sure of what relates to what, but if
your message comes from

di "`olist'"

then that in turn needs compound double quotes:

di `"`olist'"'

Nick
[email protected]

Fred Wolfe

> Thanks Nick and Nick.
>
> I modified the code slightly for my application, and I get
> the same error
> with the two suggested methods. Suggestion?
>
> local vlist: list clean vlist
> local olist : subinstr local vlist `" "' `"", ""' , all
> local olist `""`olist'""'
> di "`olist'"
>
>
>   callparmby "reg totcost03 age sex `var'",fwrelabel pformat(%9.3f)
> eformat(%9.1f) vlist(plaghaq_ plaghaq2 plagpas)
> plaghaq_disability", "plaghaq2", "plagpas"" invalid name
> r(198);
>

*
*   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/

Fred Wolfe
National Data Bank for Rheumatic Diseases
Wichita, Kansas
Tel (316) 263-2125     Fax (316) 263-0761
[email protected]


*
*   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