[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Richard Williams <Richard.A.Williams.5@ND.edu> |

To |
"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>, "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
Re: st: adoupdate question |

Date |
Mon, 29 Jun 2009 23:48:20 -0500 |

At 08:40 PM 6/29/2009, Alan Riley wrote:

This takes no more work for an author who was going to create both x.ado and x_10.ado anyway, but it is cleaner for end-users. It also means that even if a user installs an updated version of the 'x' package, as long as they have used version control in their own do- and ado-files, the appropriate version of -x- will be executed.

Thanks much Alan. That looks very useful. A few Qs though:

capture program gologit2, eclass byable(recall) sortpreserve /// properties(swml or rrr irr hr eform)

if `c(stata_version)' < 9 { version 8.2 } else { version 9 } I don't know if that is good programming practice, but it seems to work! ------------------------------------------- Richard Williams, Notre Dame Dept of Sociology OFFICE: (574)631-6668, (574)631-6463 HOME: (574)289-5227 EMAIL: Richard.A.Williams.5@ND.Edu WWW: http://www.nd.edu/~rwilliam * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**RE: st: adoupdate question***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

**References**:**st: adoupdate question***From:*Richard Williams <Richard.A.Williams.5@ND.edu>

**Re: st: adoupdate question***From:*Alan Riley <ariley@stata.com>

- Prev by Date:
**Re: st: Analyzing a subpopulation in Stata 10.1** - Next by Date:
**Re: st: RE: Creating a Non-Self Mean & Proportions** - Previous by thread:
**Re: st: adoupdate question** - Next by thread:
**RE: st: adoupdate question** - Index(es):

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