I can't confirm this. -which lookfor- for me is
*! version 3.3.2 27jan2007
and I can't reproduce such behaviour.
My guesses:
1. You are using an old -lookfor-. (If you are using an old Stata, you
should say so.)
OR
2. What you are doing after -lookfor- is chopping the list, not
-lookfor-.
For example,
. local varlist = "`r(varlist)'"
would chop.
Nick
[email protected]
WEI-JANG HUANG
Does anyone know why the variable list in r(varlist) saved by command
'lookfor' gets chopped? I don't think it's reached the limit of macro.
In my case, the varlist should contain 33 variables and each variable
name is 7-character long. r(varlist) contains the first 30 variable
names and lists part of the 31st variable.
*
* 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/