There's nothing odd about it at all. 
Nick 
[email protected] 
Clive Nicholas
 
> Nick Cox replied:
> 
> > I can't reproduce your results here. I get
> > the same results as Scott. Your logic that
> >
> > 0 & 0 & 1 == 1
> >
> > is not the same as Stata's (or Boole's).
> > In other words, my code appears equivalent
> > to Scott's.
> >
> > That's using in this example
> >
> > gen nmark = natch < . & ednatch < . & marker != 0
> 
> How very odd. :( Oh well, at least Scott's routine produces 
> what I want,
> so I'll run with his (as well as reading up on the attached).
> 
*
*   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/