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   "Rajesh Tharyan" <[email protected]>
To   <[email protected]>
Subject   st: RE: How to write a program that asks the user for input
Date   Wed, 20 Jun 2007 12:33:00 +0100

Hi,

A related question.

Can I program a dialog box prompting the user to select the do file that he
would like to run?

rajesh

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ben Jann
Sent: 20 June 2007 12:11
To: statalist
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/

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