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

RE: st: re: Stata 9

From   "Jun Xu" <>
Subject   RE: st: re: Stata 9
Date   Mon, 11 Apr 2005 10:43:06 -0500

The error might be in "foreach x in `c'"
You might want to try changing it into foreach x of varlist `c' instead.
If you use foreach x in `c', then code and age are considered to be some generic things, not necessarily variable names.

Jun Xu
Department of Sociology
Indiana University
Bloomington, IN 47405

From: "Loncar, Dejan" <>
To: <>
Subject: RE: st: re: Stata 9
Date: Mon, 11 Apr 2005 16:49:28 +0200

Dear all
I have the situation below (c and age are numeric variables c =
100....200 age = 1...7)

local c = "code age"
foreach x in `c' {
do something

It seems it doesn't work as Stata doesn't recognized code as variable

Any suggestion or direction in thinking

Thank you in advance


-----Original Message-----
[] On Behalf Of Richard
Sent: 11 April 2005 15:10
Subject: Re: st: re: Stata 9

At 08:48 AM 4/11/2005 -0400, Kit Baum wrote:
>Jose asked
>2. When the updating of Stata 8 will be descontinued?
>I would expect that on the date you could actually order and receive a
>copy of Stata 9 (following the ship date later this month) that Stata
>would be 'frozen'. From messages on the list, it is evident that there
>a lot of Stata 8.0 users out there who haven't figured out how to bring

>their Stata up to date, and they will be able to do that update step
>the last available Stata 8.2 executable and ados) for the foreseeable

I imagine we've seen the last of any new features for Stata 8.2.
bug fixes will continue for a while, although I suppose we can't count
that.  I've reported a couple of bugs recently and was told they were
fixed, but now I am wondering if they were fixed for version 8 or 9 or

*   For searches and help try:

*   For searches and help try:
Express yourself instantly with MSN Messenger! Download today - it's FREE!

* For searches and help try:

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