Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: Help with loops


From   "Joseph Coveney" <[email protected]>
To   "Statalist" <[email protected]>
Subject   Re: st: RE: Help with loops
Date   Sat, 17 May 2008 21:41:01 +0900

Nick Cox wrote:

Dots are not allowed in variable names. Period.

--------------------------------------------------------------------------------

Just a technical clarification:  so-called raised dots *are* allowed, not
that I would recommend using them.

Joseph Coveney


. set obs 1
obs was 0, now 1

. generate y`=char(183)'a = 1

. describe

Contains data
 obs:             1
vars:             1
size:             8 (99.9% of memory free)
--------------------------------------------------------------------------------------------------------
             storage  display     value
variable name   type   format      label      variable label
--------------------------------------------------------------------------------------------------------
y�a             float  %9.0g
--------------------------------------------------------------------------------------------------------
Sorted by:
    Note:  dataset has changed since last saved

. foreach var of varlist _all {
 2. display in smcl as text "`var'"
 3. }
y�a

.


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



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