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

st: RE: Which and return list

From   "Nick Cox" <>
To   <>
Subject   st: RE: Which and return list
Date   Fri, 19 Mar 2004 11:15:19 -0000

I've never wanted to do this. It's adoable, by e.g. 
using -file- to process the file identified by -which-. 

I've encountered many programs with no *! lines
and a few with several. After all, programmers are 
only advised to include such lines, so many, especially 
less experienced programmers, don't do it; while occasionally 
programmers want to exploit the fact that -which- echoes 
such lines.  

> Has anyone ever wanted to program an ado file that inspected 
> the version of
> another program.
> If only  the -which- command inspected the  *! lines and 
> stripped out the
> version number.
> Perhaps there should be a set of standard *! lines at the start of an
> adofile to help with this.
> e.g.
> *! Version : 1.42
> Then -which- could give the version number in the return list.

*   For searches and help try:

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