[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: programming a version number check
Mark wants to find the version of another ado-file. If the other ado
is under your control, write it so that if called with the 'version'
option it does nothing but squawk r(version) or e(version). If it
isn't, but it does return r (version)or e(version), capture its call
and call it with some dummy args. If the other ado-file is not under
your control and it doesn't return its version (e.g. official
ivreg.ado), you're out of luck.
Kit Baum, Boston College Economics
On Sep 26, 2005, at 2:33 AM, statalist-digest wrote:
Using -findfile- to get the path to the ado, opening the ado with -
and then messing about with file i/o is unappealing, though I
could be made to work. Is there anything easier?
* For searches and help try: