...
How about using the _request(macname) option of display?
Michael Blasnik
----- Original Message -----
From: "Ben Jann" <ben.jann@gmail.com>
To: "statalist" <statalist@hsphsun2.harvard.edu>
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