Re: [Tutor] selecting elements from a list that do not meet selection criteria

2007-11-16 Thread Ricardo Aráoz
ted b wrote: > Is there a way i can select all elements from a list > that do not meet selection criteria. I want to be able > to select elements that have values of, say, < 1 but > only if at least one of the elements has a value of > > 0. > > What i mean is, for example, in the code below, if on

[Tutor] selecting elements from a list that do not meet selection criteria

2007-11-15 Thread ted b
Is there a way i can select all elements from a list that do not meet selection criteria. I want to be able to select elements that have values of, say, < 1 but only if at least one of the elements has a value of > 0. What i mean is, for example, in the code below, if one of the elements of "list

Re: [Tutor] selecting elements from a list that do not meet selection criteria

2007-11-15 Thread Kent Johnson
ted b wrote: > Is there a way i can select all elements from a list > that do not meet selection criteria. I want to be able > to select elements that have values of, say, < 1 but > only if at least one of the elements has a value of > > 0. I'm not sure if you mean > 0 or >1, you seem to say both