Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: Why was -index()- dropped?


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: Why was -index()- dropped?
Date   Thu, 24 Jan 2008 21:10:04 -0000

This has been fixed for some time, as was promised. The update was in
Stata Journal 7(3) 2007. 

Note that, as mentioned by Fred, the fault here was not with StataCorp.
It was the authors' [let's say: mine] in not including a -version-
statement. That was certainly accidental, not deliberate. 

Nick
[email protected] 

Fred Wolfe

I was burned using -concord- which has version control in subprograms,
but doesn't have it in the main programs. It perhaps needs a two word
revision.

Fred Wolfe


On 1/24/08, Richard Williams <[email protected]> wrote:
> At 03:15 PM 1/24/2008, Newson, Roger B wrote:
> >I have a Stata 10 query on string functions. Why is the string
function
> >-index()- no longer available in Stata 10 (as it was in Stata 9 and
> >several previous versions)? I would be surprised if I couldn't find
> >substitutes for it on a case-by-case basis, but was there any special
> >reason for dropping it?
>
> If I recall correctly - in Stata 9, -index- got the new and improved
> name of -strpos-.  Per StataCorp policy, -index- continued to work in
> Stata 9, but starting in Stata 10 it only works if you are using
> version control.
>
> I think the new and improved names had something to do with
> consistency with Mata.  Personally though, I wish the old names
> continued to work.  As a programmer, you get used to doing things
> certain ways, and it isn't always obvious what the new and improved
> name is.  Heck, Roger is one of the more prolific programmers around,
> and if he gets bit by a change like that you can imagine that others
will too!
>

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