From | David Kantor <[email protected]> |
To | [email protected] |
Subject | Re: st: RE: programs with options |
Date | Fri, 11 Jul 2003 11:26:39 -0400 |
See for example program define testop syntax varlist(min=2 numeric) [,option1 option2] local nbitems : word count `varlist' forvalues i=1/`nbitems' { di "``i''" } end .testop var1 var2 ,option1 var1 var2 .testop var1 var2, option1 var1 var2, .testop var1 var2,option1 var1 var2,option1 [...]
David Kantor Institute for Policy Studies Johns Hopkins University [email protected] 410-516-5404 * * 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 |