Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: How to input in a do file


From   Tiago Dias <[email protected]>
To   Statalist <[email protected]>
Subject   st: How to input in a do file
Date   Tue, 28 Jul 2009 12:22:41 -0700 (PDT)

Hi again. 
I'm doing a little do-file and I have a problem wich I can't solve.
At a certain point, after some calculations, I need to stop the program and wait the user decide over option A or option B.
I thought about using -input- 'tempvar' and verifying the value of 'tempvar', but when I use -input- in the middle of the do file I get an error (r(612) - unexpected end of file) and the do-file ends.

Does anyone has a idea about what to do?
Thanks.


      ____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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