Hi,
I am wondering if, and how if it does, Stata parses the syntax within options. I'm writing a command for models that take selection equations as options, and I am wondering how to go about allowing options for the selection equation itself.
So let's say that I have the following:
Does Stata somehow parse the options within select or do I have to use gettoken to parse it to see what options are in it? If Stata parses it, how do I get to the options of the option?
Thanks!!!
I am wondering if, and how if it does, Stata parses the syntax within options. I'm writing a command for models that take selection equations as options, and I am wondering how to go about allowing options for the selection equation itself.
So let's say that I have the following:
Code:
syntax varlist(numeric fv) [if] [in] [fweight pweight iweight] [, SELect(varlist numeric fv, noCONStant HET(varlist numeric fv))]
Thanks!!!
Comment