Statalist


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

Re: st: -varlist- using char[]?


From   Johannes Geyer <[email protected]>
To   [email protected]
Subject   Re: st: -varlist- using char[]?
Date   Fri, 14 Nov 2008 10:27:29 +0100

>   2. Is there a way to reference such a subset interactively,
>      as above?

I did not think about char[] - that is a nice feature! 

This works interactively:

sum if "`(local x: char[scale])'" == "`KCCQ'"

How to avoid looping, I don't know.

Johannes

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



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index