On 6/8/2016 3:39 AM, Rob van der Heij wrote: > There are a few trigger words in that. The "first in the list" suggests a pipe > with "juxtapose count"
Yay, another old new keyword for me to learn! Without it, my approach to the same task was the other way around: Number the primary input records, and use UNIQUE FIRST to take the first in each group. It looks like you mashed that old technique into your JUXTAPOSE COUNT solution, actually. You don't need UNIQUE to find the first when the count is there: (end \) \ *: | o: chop 0 | j: juxtapose count | pick 9.2 == , 1, | not chop 10 | *: \ o: | split , | .. sift bad ones out | j: ¬R
