Statalist The Stata Listserver


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

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


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

Thanks Michael, _request() is perfect.
ben

On 6/20/07, Michael Blasnik <[email protected]> wrote:
...
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