Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: AW: display _request(macname)


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: display _request(macname)
Date   Wed, 3 Feb 2010 16:17:28 +0100

<> 


Why even bother to use -_request-? You could simply pass this as an argument
to the -do- command, as in [U], section 16.4.



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Carl
Mastropaolo
Gesendet: Mittwoch, 3. Februar 2010 16:13
An: [email protected]
Betreff: st: display _request(macname)

Hi

I am modifying a .do file graciously sent by Tirthankar so that the .do file

requests the alpha value to be applied for a specific analysis.  I would 
like to run the file and then enter an alpha value at will using the command

on the console.

I am using the display _request command.  Execution of the command stops the

.do file, as it should, awaiting the entered value for alpha.  After I enter

the alpha value, the .do file runs to completion perfectly except it always 
uses an alpha value which I had previously entered.  If I start anew with a 
fresh STATA session, running the .do file, even after entering a value at 
the prompt, results in the error message "alpha not found".

Obviously, the value I am entering on the console is not being preserved by 
STATA.

Any help?

Thanx,
Carl 

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/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/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