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

st: syntax


From   "Arthur Mu" <[email protected]>
To   [email protected]
Subject   st: syntax
Date   Sat, 13 Jul 2002 21:37:27 -0500

Statalisers,

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)]

Thanks a lot for any input.

Jun Xu
Indiana University at Bloomington


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx

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