|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st: RE: codebook transfer
Actually, I wonder if the problem is that the version of Stata 10 is
not up to date. Bill Gould promised us a while back that -index-
would quietly come back to life (albeit undocumented), and it appears
that that is what has happened:
. sysuse auto
(1978 Automobile Data)
. gen x = index(make, "a")
. sum x
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
x | 74 5.432432 4.783193 0 16
At 06:20 AM 5/21/2008, Nick Cox wrote:
(previous was beheaded)
-----Original Message-----
From: Nick Cox
Sent: 21 May 2008 12:01
To: '[email protected]'
Subject: RE: st: RE: codebook transfer
Meaning: -index()- is still there, but you must call it under version
control.
A program declared as -version 10- will not recognise a call to
-index()-.
Nick
[email protected]
Steven Samuels
In Stata 10, the string function index() has been replaced by strpos()
On May 20, 2008, at 4:06 PM, fernando andrade wrote:
> HIi am trying to run the descsave, dofie command and i keep getting
> the following message error:
>
> r(133);
>
> . do "/tmp/SD02801.000000"
>
> . descsave, dofile("\\afs\umich.edu\user\f\a\fandrade\census_2000
> \survey.do",
> replace)
> Unknown function index()
> r(133);
>
> any ideas what could happen?
>
*
* 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/
-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME: (574)289-5227
EMAIL: [email protected]
WWW: http://www.nd.edu/~rwilliam
*
* 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/