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

Re: st: RE: Version control questions


From   Allen Buxton <abbuxton@pacbell.net>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Version control questions
Date   Sun, 15 May 2005 17:27:21 -0700 (PDT)

Richard,

Thank you for pointing this out. The 'corrected'
version, as stated below, works perfectly. I finally
tried it.

-Allen Buxton


--- Richard Williams <Richard.A.Williams.5@ND.edu>
wrote:
> At 12:45 PM 5/7/2005 -0700, Allen Buxton wrote:
> >Thank you for this comment.
> >
> >I recently tried this and found that version
> control
> >works as it should, that is only integers are
> allowed
> >when running an ado written for version 8.2 under
> 9.0.
> >
> >-Allen Buxton
> 
> By the way, did you try the original version of the
> tip, or the corrected 
> version that Ken Higbee posted? (The original
> version would have always 
> acted as though you were NOT using Stata 9.)  The
> corrected version was
> 
> program myprog
>          version 8.2
>          local oktype = cond(`c(stata_version)' < 9,
> ///
>                  "integer `c(level)'", "cilevel")
>          syntax ... , ... Level(`oktype')
> 
> *
> *   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index