This is similar to what -usesome- (SSC) does.
To load the third variable in a dataset you would code
usesome (3) using foo.dta
Best
Daniel
--
These are good solutions once the data are read in.
If the problem is to get at the third variable name before the dataset
is read in, something like
d using auto, varlist
use `: word 3 of `r(varlist)'' using auto
is needed.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/