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

st: RE: syntax


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
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 
n.j.cox@durham.ac.uk 

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index