| ![](/includes/contimages/spacer.gif) |
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: macro list
Hello Fred,
Notice that a column separates a macro name from the value. So here is how:
**************************************************
log using "c:\abcdef.txt", text replace
macro dir
log close
insheet using "C:\abcdef.txt", delimiter(":")
keep v1
drop if _n<6| _n>_N-5
**************************************************
Of course replace abcdef.txt with a temporary filename.
The last line excludes the log file header and footer.
Best regards,
Sergiy
. macro dir
S_level: 95
F1: help
F2: #review;
F3: describe;
F7: save
F8: use
S_ADO: UPDATES;BASE;SITE;.;PERSONAL;PLUS;OLDPLACE
S_StataSE: SE
S_FLAVOR: Intercooled
S_OS: Windows
S_MACH: PC
. l
+-----------+
v1
-----------
1. S_level
2. F1
3. F2
4. F3
5. F7
-----------
6. F8
7. S_ADO
8. S_StataSE
9. S_FLAVOR
10. S_OS
-----------
11. S_MACH
+-----------+
----- Original Message -----
From: "Fred Wolfe" <[email protected]>
To: <[email protected]>
Sent: Thursday, March 01, 2007 1:55 PM
Subject: st: macro list
macro list or macro dir produces a list of global macros and their
contents. Does anyone know a way to get a list of the global macros
without their contents?
Thanks.
Fred Wolfe
National Data Bank for Rheumatic Diseases
Wichita, Kansas
Tel +1 316 263 2125
[email protected]
*
* 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/