Skip to content
Prev 78581 / 398502 Next

Applying a function to each element of an array

On Fri, 7 Oct 2005, Patrick Burns wrote:

            
Well, we don't actually know 'count' is >= 1.  I almost suggested this, 
but suppose the counts were in billions?

It's a good solution for a small set of continguous values.  If there is a 
small set of values, do a two-step lookup using e.g. match to find the 
enumeration of the values.