Statalist The Stata Listserver


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

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


From   "Ben Jann" <[email protected]>
To   statalist <[email protected]>
Subject   st: How to write a program that asks the user for input
Date   Wed, 20 Jun 2007 13:10:57 +0200

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