|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: AW: compare files, vars only
Eva wrote:
> the limit (244) only hits you in an expression. As long as you avoid
> the equal sign, you should be fine.
> See this example:
Right, thanks for that hint! I displayed the variable list by -dis
r(varlist)- and thought that would be the content of the macro...which is
wrong.
Johannes
> ***************************************
> clear
> forvalues x=1/250 {
> gen var`x' = .
> }
> save test
>
> clear
> qui des using test, varlist
> loc first `r(varlist)'
> local second = r(varlist)
>
> local n : length local first
> local m : length local second
> di "No equal sign: `n' With equal sign: `m'"
> *****************************************
>
> Eva
> *
> * 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?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/