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

st: RE: default version of abbrev(n) for list?


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: default version of abbrev(n) for list?
Date   Mon, 13 Jun 2005 16:21:41 +0100

No; I don't think so. But you can write your own command wiring this in.  

program mylist
	version 8 
	syntax [varlist] [if] [in] [, abbrev(int 16) * ] 
	list `varlist' `if' `in', abbrev(`abbrev') `options' 
end 

You can even allow abbreviations: 

program myl
	version 8 
	mylist `0' 
end 

program myli
	version 8 
	mylist `0' 
end 

program mylis
	version 8 
	mylist `0' 
end 

Nick 
[email protected] 

Daniel Waxman

> Is there any way to change the default for .list so that 
> variable names are
> not abbreviated, or at least lengthened, without having to type
> ',abbrev(16)' every time?
> 
> (currently using Stata 8, but soon to be Stata 9) 
 

*
*   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/



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