Try
********
use auto, clear
cap erase las.do
la save using las
type las.do
********
for a flavor of what it should look like (make sure there is no las.do in
your current directory before running the code...). Also note that -ssc d
descsave- is extremely convenient for such purposes.
Martin Weiss
_________________________________________________________________
Diplom-Kaufmann Martin Weiss
Mohlstrasse 36
Room 415
72074 Tuebingen
Germany
Fon: 0049-7071-2978184
Home: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1130
Publications: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1131
SSRN: http://papers.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=669945
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Guillermo Villa
Sent: Tuesday, May 20, 2008 2:29 PM
To: [email protected]
Subject: st: Importing variable and value labels from txt file
Dear Statalisters,
I would like to know whether, for an active dataset, Stata is able to
attach value and/or variable labels from an existing txt file. In that
case, how should that text file be structured and which Stata commands
should be used?
Thanks.
Guillermo
*
* 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/