Daylight v4.9
Release Date: 1 February 2008

Name

dt_mer_id2hit - convert a row identifier to a hitlist index

Generic Prototype

dt_mer_id2hit(dt_Handle, dt_Integer) => dt_Integer

C Prototype

#include "dt_merlin.h"

dt_Integer dt_mer_id2hit(dt_Handle hitlist, dt_Integer id)

FORTRAN Prototype

include 'dt_f_merlin.inc'

integer*4 dt_f_mer_id2hit(hitlist, id)

integer*4 hitlist
integer*4 id

Description

Converts a row's id to a hitlist index in the given hitlist. (see dt_mer_id2hit(3)).

Return Value

Returns the hitlist index of the row with the given id. For all other objects or if the row is not a member of the hitlist, this property is defined as -2.

Related Topics

dt_mer_alloc_hitlist(3) dt_mer_clear(3) dt_mer_combinehitlists(3) dt_mer_hit2id(3) dt_mer_invert(3) dt_mer_length(3) dt_mer_mvbottom(3) dt_mer_mvtop(3) dt_mer_native(3) dt_mer_reset(3) dt_mer_reverse(3) dt_mer_sethits(3) dt_mer_zapabove(3) dt_mer_zapbelow(3) dt_mer_zapna(3) dt_mer_zapnonunique(3)