Statalist


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

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


From   "Ben Jann" <[email protected]>
To   [email protected]
Subject   Re: st: Why was -index()- dropped?
Date   Fri, 25 Jan 2008 23:55:59 +0100

And I needed some time to realize that

 . marksample touse

had nothing to do with "those", but with "to use"....

On Jan 25, 2008 9:34 PM, Nick Winter <[email protected]> wrote:
> This thread has clarified for me something (almost) completely
> unrelated.  For years I've been wondering what "stroke" has to do with
> string variables being acceptable; only just now do i realize that
> "strok", as is "markout varlist, strok" is short for "string ok".
>
>
> Duh.
>
> -Nick Winter
>
>
> Ronan Conroy wrote:
> > On 25 Jan 2008, at 15:06, William Gould, StataCorp LP wrote:
> >
> >> So we will quietly put -index()- back and make it work again.
> >
> >
> > Thank goodness! While I can easily imagine using a search-and-destroy
> > text editor to replace all occurrences of 'strpos(' with 'index(' in
> > every do-file on my machine, it's not safe to do this the other way
> > around, and I wasn't looking forward to inspecting every occurrence of
> > 'index(' before giving the go ahead to a replace.
> >
> > I agree that strpos is far more user-readable, but for us old-timers (I
> > realise I have my Stata 3 installation disks on the shelf) it will be
> > hard to shake the index habit.
> >
> >
> > P    Before printing, think about the environment
> > =================================
> > Ronan Conroy
> > [email protected]
> > Royal College of Surgeons in Ireland
> > Epidemiology Department,
> > 120 St Stephen's Green, Dublin 2, Ireland
> > +353 (0)1 402 2431
> > +353 (0)87 799 97 95
> > http://www.flickr.com/photos/ronanconroy/sets/72157601895416740/
> >
> > *
> > *   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/
>
> --
> --------------------------------------------------------------
> Nicholas Winter                                 434.924.6994 t
> Assistant Professor                             434.924.3359 f
> Department of Politics                  [email protected] e
> University of Virginia          faculty.virginia.edu/nwinter w
> PO Box 400787, 100 Cabell Hall
> Charlottesville, VA 22904
>
>
> *
> *   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/



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