Daylight v4.9
Release Date: 1 February 2008

Object Synopsis

string -- object representing a string

Description

A string object is a simple object that holds a string of characters and its length. Its primary used is to store textual information and associate it with other objects, e.g. via dt_setadjunct(3).

The data stored in a string object need not be printable ASCII text -- any array of characters, signed or unsigned, can be stored. In particular, the NULL (zero) character has no special meaning; the length is stored explicitly. C programmers should be aware of the fact that a string objects contents may not be NULL terminated.

Related Topics

integer(3ob) real(3ob)

dt_setinteger(3) dt_typename(3) dt_sethandle(3) dt_integer(3) dt_ascii2binary(3) dt_real(3) dt_handle(3) dt_string(3) dt_setstring(3) dt_setadjunct(3) dt_alloc_string(3) dt_setstringvalue(3) dt_stringvalue(3) dt_converse(3) dt_boolean(3) dt_setreal(3) dt_proptype(3) dt_appendstringvalue(3) dt_dealloc(3) dt_binary2ascii(3) dt_copy(3) dt_setboolean(3) dt_adjunct(3) dt_alloc_program(3) dt_type(3) dt_propnames(3) dt_appendstring(3)