Statalist


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

RE: st: RE: RE: Two-word commands with gettoken


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: RE: Two-word commands with gettoken
Date   Mon, 9 Mar 2009 10:13:33 -0000

You should not enumerate all the possibilities. See e.g. the opening part of code for -duplicates- for how to do this. 

. viewsource duplicates.ado 

Nick 
n.j.cox@durham.ac.uk 

Martin Weiss

Of course, you could enumerate all the possiblities... Also note the 
command -unabcmd-...

Augusto Cadenas

> Nick, thanks for your comments, immensely useful as usual. (Thanks for
> your comments, Sergyi, too). This helped me out.
>
> Thanks for pointing out the reg/regress issue. How would I specify the
> -if- condition in a more flexible way, so that it accepts anything
> between -reg- and -regress-? Is there some way of using wildcards?
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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