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

st: RE: syntax


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: syntax
Date   Sun, 14 Jul 2002 15:38:29 +0100

Arthur Mu and/or Jun Xu wrote 

> Here I have two questions about the use of syntax after 
> program define.
> 1. How to make abbrevaitions work?
> For example, I have
> **********************
> program define myprgm
> syntax [varlist] [if] [in] [,model(string) option(string)]
> ...
> **********************
> How can I make my program and option work by just type in:
> myprgm var1 var2 var3, m(reg) o(whatever)
> 2. What does passthru mean in the parenthesis of those 
> options after syntax 
> like:
> syntac [varlist] [if] [in] [, option1(passthru)]

Please see on-line help and [P] syntax. 

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