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

st: How to input in a do file

From   Tiago Dias <>
To   Statalist <>
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?

Veja quais são os assuntos do momento no Yahoo! +Buscados

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index