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:42:22 +0100

[email protected] schrieb am 14/11/2008 10:27:29:

> >   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'"
> 

Sorry, I think I was wrong, it just evaluated to "true" because both sides 
were empty.
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/



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