Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: parameter handover in .ado file


From   Tutor 2005 UM <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: parameter handover in .ado file
Date   Thu, 13 Apr 2006 13:49:57 +0200

Thanks everybody for the good advice.
I am confident, this will get me started.

steffen

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> Newson, Roger B
> Sent: Wednesday, April 12, 2006 3:19 PM
> To: [email protected]
> Subject: st: RE: parameter handover in .ado file
> 
> 
> You need to find out about the -syntax- and -args- commands. 
> In Stata, type
> 
> whelp syntax
> 
> to find more about -syntax-, and
> 
> whelp args
> 
> to find more about -args-.
> 
> The hardcopy documentation is in the Stata Programming Manual 
> under -[P] syntax-. You should probably read this manual, if 
> you have access to a copy. Unfortunately, the Programming 
> Manual is no longer shipped as part of the base documentation 
> set, and users have to order it specially. So you may 
> possibly have to do the best you can with the online help.
> 
> Best wishes
> 
> Roger
> 
> 
> Roger Newson
> Lecturer in Medical Statistics
> POSTAL ADDRESS:
> Respiratory Epidemiology and Public Health Group
> National Heart and Lung Institute at Imperial College London
> St Mary's Campus
> Norfolk Place
> London W2 1PG
> STREET ADDRESS:
> Respiratory Epidemiology and Public Health Group
> National Heart and Lung Institute at Imperial College London
> 47 Praed Street
> Paddington
> London W1 1NR
> TELEPHONE: (+44) 020 7594 0939
> FAX: (+44) 020 7594 0942
> EMAIL: [email protected]
> WEBSITE: http://www.imperial.ac.uk/nhli/r.newson/
> Opinions expressed are those of the author, not of the institution.
> 
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of 
> Steffen Groening
> Sent: 12 April 2006 13:26
> To: [email protected]
> Subject: st: parameter handover in .ado file
> 
> Hi everybody,
> 
> I was trying to do write my own little .ado program, but 
> encountered some problems while doing that. Hopefully you can 
> help me out here.
> 
> How do you hand over the parameters you enter when calling an 
> .ado program?
> 
> E.g. you type: programname if parameter1 parameter2 parameter3
> 
> How can i address the values entered for parameter1, 
> parameter2, etc. in the .ado file?
> 
> Thank you.
> 
> Steffen.
> 
> *
> *   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/
> 
> *
> *   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/
> 

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