I'd like to save typing and clean up a program by
using
a local variable with conditions that evaluate strings
like below:
local 1 "whatever"
local if "``1' == "first thing" | `1' == "second
thing"'"
if `if' { ...
only I can't get the quotes or compound quotes in my
`if' declaration to resolve quite right.
Thanks for your help!
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
*
* 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/