Friday, March 03, 2006

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

On 3/3/06, Steffen Hokland <hokland@mr.au.dk> 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 - nshephard@gmail.com / neilshep@cyllene.uwa.edu.au 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/


Tag:


Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?