Statalist The Stata Listserver


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

st: Re: How to write a program that asks the user for input


From   "Michael Blasnik" <[email protected]>
To   <[email protected]>
Subject   st: Re: How to write a program that asks the user for input
Date   Wed, 20 Jun 2007 07:27:35 -0400

...
How about using the _request(macname) option of display?
Michael Blasnik


----- Original Message ----- From: "Ben Jann" <[email protected]>
To: "statalist" <[email protected]>
Sent: Wednesday, June 20, 2007 7:10 AM
Subject: st: How to write a program that asks the user for input



Hi,

I am trying to write a program that

 first executes some commands,

 then asks the user for input,

 and then processes the user input and executes some more commands.

I tried to do something with dialogs but I cannot get the program to
wait for the user input.

Does someone know how to write a program that asks for user input and
then continues? (It does not have to be with dialogs; command line
input would be fine too.)

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