I recommend you to analyze the actual ado code of an user command
you've dowloaded, and learn how to use the syntax command.
For example, if you download a simple command such as stockquote (from
the command line type findit stockquote, and install it), you can
easily follow and understand how the syntax command is used.
Look for the stockquote.ado file in your PLUS folder. To see which is
your PLUS folder, type in the command line: sysdir
Alberto.
2012/11/16 Chiara Mussida <cmussida@gmail.com>:
> Dear All,
> Does anybody know how to do transform a program written in a dofile
> (which contains an index) in an adofile, and therefore into a Stata
> command?
>
> Thanks
> --
> Chiara Mussida
> PhD candidate
> Doctoral school of Economic Policy
> Catholic University, Piacenza (Italy)
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/faqs/resources/statalist-faq/
> * http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/