Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re^3: string variables

From   "Katsuhide Isa" <>
To   <>
Subject   st: Re^3: string variables
Date   Sat, 7 Dec 2002 21:34:33 +0900

To Nick:

Thank you for your additional comment.

> If you look carefully, you will see that _11 alone 
> is string and cannot be used to create a numeric variable 
> without using some function or command to extract 
> numeric contents. So (e.g.) your loop will fail at _11. 

I see. Come to think of it, -forvalues- 'loops over consecutive 
values', so it's no wonder Stata returns an error message
when non-numeric variables are included in the varlist.


*   For searches and help try:

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