PositionInIndex

Revision as of 22:34, 31 January 2007 by Lchrisman (talk | contribs) (placed PositionInIndex in its own page.)


PositionInIndex is the positional equivalent of SubIndex.

Finds U in A and returns the integer position of the value along I. If there are duplicates, the largest such position is returned. PositionInIndex may be necessary when I contains or may contain duplicates, in which case SubIndex isn't sufficient, and without PositionInIndex, there is no easy workaround.

Declaration

PositionInIndex(A:Array[I] ; U : atomic ; I : IndexType )

See Also

Comments


You are not allowed to post comments.