Re: Why equal(x[n], x[n..n])=0 ?
- Posted by Pete Lomax <petelomax at blueyonde?.co.?k> Sep 25, 2007
- 706 views
Jason Gade wrote: > Because when you say s[3..3] you are saying, "bring me one item in a bucket". > It's not mutually exclusive. You can carry one thing with or without the > bucket. > You can always take the item out of the bucket after it is brought to you. > I like that analogy. A slice asks for a bucket with n items in it. You've always got the bucket, whether it has 97, 4, 1, or 0 things in it. And a thing in a bucket is not the same as said thing not in a bucket. Regards, Pete