Statalist The Stata Listserver


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

st: RE: parameter handover in .ado file


From   "Maarten Buis" <[email protected]>
To   <[email protected]>
Subject   st: RE: parameter handover in .ado file
Date   Wed, 12 Apr 2006 15:11:47 +0200

The easiest way to do that is to use the syntax command, see -help syntax-

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology 
Vrije Universiteit Amsterdam 
Boelelaan 1081 
1081 HV Amsterdam 
The Netherlands

visiting adress:
Buitenveldertselaan 3 (Metropolitan), room Z214 

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Steffen Groening
Sent: woensdag 12 april 2006 14: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/



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