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

Re: st: RE: Version control questions


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: RE: Version control questions
Date   Sat, 07 May 2005 18:48:19 -0500

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/




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