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

RE: st: re: Stata 9


From   "Jun Xu" <[email protected]>
To   [email protected]
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" <[email protected]>
Reply-To: [email protected]
To: <[email protected]>
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

Dejan


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Richard
Williams
Sent: 11 April 2005 15:10
To: [email protected]
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
8.2
>would be 'frozen'. From messages on the list, it is evident that there
are
>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
(to
>the last available Stata 8.2 executable and ados) for the foreseeable
future.

I imagine we've seen the last of any new features for Stata 8.2.
Hopefully
bug fixes will continue for a while, although I suppose we can't count
on
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
both.

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

*
*   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/
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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