1

I'm trying to say "it counts the number of times a given value repeats sequentially" in a list, meaning it finds the maximum number of times a value occurs in a row in a list. I know there's a word for it, but I can't remember it.

3 Answers 3

9

Repeats sequentially is the wrong expression, as OP suspects. The normal phrasing would be...

It counts the number of times a given value appears consecutively.

2
  • 1
    ... or "appears consecutively". Commented Aug 23, 2011 at 22:15
  • @Karl Knechtel: It's a very fine (possibly non-existant) distinction, but I have the feeling I prefer appears in respect of multiple instances, and occurs if there's only one or a very small number. So thanks, and I'll edit to reflect that! :) Commented Aug 23, 2011 at 22:29
1

How about:   '(Occurs) one after another'?

… or, perhaps the word you're looking for is 'consecutively'?

EDIT: as FumbleFingers beat me to it, here's something more elaborate (perhaps not what you want):

"It shows the quantity a given value repeats itself consecutively".

1
  • I think "repeats [itself] consecutively" is at least somewhat tautological, in that repetion is implicit in anything consecutive. Commented Aug 23, 2011 at 17:58
0

The computerese term I would use is "recur."

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.