Daylight v4.9
Release Date: 1 February 2008

Name

dt_thor_alloc_dataitem - allocate a new dataitem object in a TDT

Generic Prototype

dt_thor_alloc_dataitem(dt_Handle, dt_Handle) => dt_Handle

C Prototype

#include "dt_thor.h"

dt_Handle dt_thor_alloc_dataitem(dt_Handle tdt, dt_Handle datatype)

FORTRAN Prototype

include 'dt_f_thor.inc'

integer*4 dt_f_thor_alloc_dataitem(tdt, datatype)

integer*4 tdt
integer*4 datatype

Description

Allocates a new dataitem object in a tdt. The dataitem is created with the number and types of fields specified by 'datatype'; the datafields initially contain empty strings (not invalid strings).

Return Value

Returns a handle to a new dataitem or NULL_OB if 'tdt' or 'datatype' are inappropriate objects.

Related Topics

dt_thor_tdtget(3) dt_thor_tdtmerge(3) dt_thor_tdtrevise(3)