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

st: syntax

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


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:

* For searches and help try:

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