Richard,
Thank you for pointing this out. The 'corrected'
version, as stated below, works perfectly. I finally
tried it.
-Allen Buxton
--- Richard Williams <[email protected]>
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/