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

RE: st: RE: expanding a local that contains a list or wildcards


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: expanding a local that contains a list or wildcards
Date   Wed, 6 Aug 2003 09:03:24 +0100

David Kantor replied very fully to Dimitriy Masterov. 

I just want to underscore his theme: if you are 
writing your own programs in Stata, getting to 
grips with -syntax- is a top priority. 

As a footnote, the number of variables can also 
be obtained by 
 
program myprog
	version 8 
	syntax varlist
	di "The number of variables is `: word count `varlist''"
end

Nick 
[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/



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