[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re^3: string variables
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: