Re: [Rd] 0/1 vector for indexing leads to funny behaviour (PR#8389) (maybe a documentation deficiency?)

From: Thomas Lumley <>
Date: Wed 14 Dec 2005 - 19:48:21 GMT

On Wed, 14 Dec 2005, Tony Plate wrote:
> That's what I was trying to say: the whole truth is that numeric index
> vectors that contain positive integral quantities can also contain
> zeros. Upon rereading this passage yet again, I think it is more
> misleading than merely incomplete: the phrasings "positive integral
> quantities", and "*must* lie in the set ..." rule out the possibility of
> the vector containing zeros.

"Someone told me that you can't run without bouncing the ball in basketball. I got a basketball and tried it and it worked fine. He must be wrong" -- a comp.lang.c standard

It doesn't rule out the the possibility of the vector containing zeros, it tells you that you should not put zeros in the vector.

         -thomas mailing list Received on Thu Dec 15 06:53:59 2005

This archive was generated by hypermail 2.1.8 : Wed 14 Dec 2005 - 21:23:48 GMT