Daylight v4.9
Release Date: 1 February 2008


dt_thor_raw_datafield - return the value of a datafield as a string

Generic Prototype

dt_thor_raw_datafield(dt_Handle) => dt_String

C Prototype

#include "dt_thor.h"

dt_String dt_thor_raw_datafield(dt_Integer *len, dt_Handle datafield)

FORTRAN Prototype

include ''

integer*4 dt_f_thor_raw_datafield(datafield, string)

integer*4 datafield
character*() string


Returns the "raw" string value of a datafield. A datafield's contents are normally accessed using dt_stringvalue(3), which expands indirect data. This function returns indirect datafields without expanding them. For datafields that are not indirect, it is identical to dt_stringvalue(datafield).

Return Value

Returns a string containing the datafield data. For all other objects, the datafield data is defined as the 'invalid string'.

Related Topics

dt_stringvalue(3) dt_thor_alloc_dataitem(3) dt_thor_indir_db(3) dt_thor_set_indir_db(3) dt_thor_str2tdt(3) dt_thor_tdt2str(3)