Statalist


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

Re: st: What is this mode called? And how to get out of it?


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   Re: st: What is this mode called? And how to get out of it?
Date   Tue, 24 Mar 2009 20:07:10 +0100

<>

"The other thing that comes to mind is -input-."

I thought about -input- as well, but Rachel would have to add the data type "string" to get the behavior she describes. A mere -input- would assume numeric data, and those would lead to the message "cannot be read as a number"...




HTH
Martin
_______________________
----- Original Message ----- From: "Eva Poen" <eva.poen@gmail.com>
To: <statalist@hsphsun2.harvard.edu>
Sent: Tuesday, March 24, 2009 8:00 PM
Subject: Re: st: What is this mode called? And how to get out of it?


Rachel,

there are several possibilities. The fault may lie with a loop that
you forgot to close in interactive mode. For example:

. forvalues x = 1/10 {
 2. blah
 3. blubb
 4. exit
 5.

In this case, a closing brace } will close the loop and make Stata
execute the loop. Or you interactively used -program- :

. program hello
 1. This
 2. has
 3. numbers
 4. end

In this case, type -end-. The other thing that comes to mind is
-input-. Typing -end- will help here, too.

Hope this helps,
Eva


2009/3/24 Rachel <academicgirl@gmail.com>:
Occasionally, even without the -pause- command, Stata goes into a mode
in which anytime I type a command, it simply reprints it with a number
next to it. For example,

1. exit, clear
2. quit
3. su var1

The command that gets Stata out of pause mode, -quit-, doesn't work in
this case. What is this mode called? And what command will let me exit
this mode and get back to the regular command line?

Thanks very much,
Rachel
*

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


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index