Daylight v4.9 Release Date: 1 February 2008 Namedt_mer_getnitems - retrieve the number of dataitems of given datatypeGeneric Prototypedt_mer_getnitems(dt_Handle, dt_Handle) => dt_IntegerC Prototype#include "dt_merlin.h"dt_Integer dt_mer_getnitems(dt_Handle pool, dt_Handle type) FORTRAN Prototypeinclude 'dt_f_merlin.inc'integer*4 dt_f_mer_getnitems(pool, type)
integer*4 pool
DescriptionIf 'type' is a datatype, counts the number of dataitems in the pool that have the specified datatype. If 'type' is a fieldtype, returns the number of datafields in the pool that have that fieldtype. Note that some merlin server implementations can not report dataitems and datafields separately. In these cases, the number of dataitems will always be reported).Return ValueReturns the count of items For all other objects, this property is defined as -1.Related Topicsdt_mer_alloc_column(3) dt_mer_cellvalue(3) dt_mer_defaultsort(3) dt_mer_funcapplies(3) dt_mer_function(3) dt_mer_getdata(3) dt_mer_getroot(3) dt_mer_server(3) dt_mer_sortapplies(3) |