Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: RE: Blinking message when using _rc

From   "Martin Weiss" <>
To   <>
Subject   st: RE: Blinking message when using _rc
Date   Wed, 28 Jul 2010 23:31:46 +0200


If you want to see the error message w/o having to redo the whole thing
again and again, just type "!_rc" in Windows' command prompt, outside of

Strangely, the ambiguous nature of "!" as an abbreviation for a Stata
command and for comparison purposes has never bit me, nor have I seen any
previous complaints on the list...


-----Original Message-----
[] On Behalf Of Duha Altindag
Sent: Mittwoch, 28. Juli 2010 23:13
Subject: st: Blinking message when using _rc


I'm running the program below:

local M "A B C"
foreach m in `M' {

capture confirm variable `m'_X
!_rc {
quietly count if missing(`m'_X)
if  r(N)==_N{
drop `m'_X
display "`m'_X" " dropped"

capture confirm variable `m'_X
if !_rc {
replace `m'_X="1" if `m'_X=="P"

It does the job that I need. But while it is running, I see a black
windows window for just a moment each (literally), that gives me a
message that reads like:
"!_rc { is not recognized as an internal or external command, operable
program or batch file."
Because the program above runs many times, I see that window multiple
times for a moment, like blinking. I can hardly read it the moment I
see it, but I could write it down after running the code many times.
Does anyone have an idea of what that means?

Thanks in advance

*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index