Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: use of *OR* | in 'replace'


From   "Neil Shephard" <[email protected]>
To   [email protected]
Subject   Re: st: use of *OR* | in 'replace'
Date   Fri, 3 Mar 2006 15:53:32 +0800

On 3/3/06, Steffen Hokland <[email protected]> wrote:
> > replace Include=1 if Temp==42.5 | Dose_Group<3
> > returns:
> > Dose_Group invalid name
> > r(198)
> > ----------------------------------------------------
> >
> > Are you absolutely certain that you have a variable with the name
> > Dose_Group (with uppercase and lowercase characters as shown)?
> Yes - it's probably an error 40 (the error is 40 cm from the
> display), but not that one.
>
The return code is r(198) and that is clearly stated.

What does "40cm from the display" mean?

Is there something near the monitor/computer that is causing the error
(in no way meant to be facetious, but perhaps the user), or are you
using -trace- to findout where the error is occuring and its 40 lines
prior to exiting all code and returning to the prompt?

Neil
--
"There is always an easy solution to  every...problem - neat,
plausible, and wrong." - H. L. Mencken

Email - [email protected] / [email protected]
Website - http://slack.ser.man.ac.uk/
Blog - http://slack---line.blogspot.com/
Flickr - http://www.flickr.com/photos/slackline/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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