Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: destring_loop


From   Mahbubeh Parsaeian <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: destring_loop
Date   Sat, 18 Aug 2012 03:34:57 -0700 (PDT)

I really appreciate it.  
As I understood the first command list variables not specified in the command  (var2-var10) and using the second command  Stata just destring the specified varlist. I am not familiar with how `r(varlist)' work or mean? Is it possible to help me to understand  it? or with which keyword I can use Stata help to understand it.  

Bunches of thanks,
Mahboubeh



One option is to use -ds- with the "not" option:

ds var1, not
destring `r(varlist)', replace

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


*
*   For searches and help try:
*  http://www.stata.com/help.cgi?searchhttp://www.stata.com/support/statalist/faqhttp://www.ats.ucla.edu/stat/stata/


*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index