Daylight v4.9
Release Date: 1 February 2008


dt_setinteger - specify the integer value of a named property

Generic Prototype

dt_setinteger(dt_Handle, dt_String, dt_Integer) => dt_Boolean

C Prototype

#include "dt_smiles.h"

dt_Boolean dt_setinteger(dt_Handle object, dt_Integer nlen, dt_String pname, dt_Integer value)

FORTRAN Prototype

include ''

logical dt_f_setinteger(object, pname, value)

integer*4 object
character*() pname
integer*4 value


Causes the named property to be created or modified. Sets the value of the named property 'pname' to 'value'. Also sets the property type of the named property to be set to DX_PROP_INTEGER (returned by dt_proptype(3)).

Named properties can be set for any object in the toolkit. The properties are owned by the object, and become invalid if the object is deallocated. A property name may be any valid string (see dt_setstringvalue(3)).

Return Value

Returns the success (TRUE) or failure (FALSE) of the operation.

Related Topics

dt_integer(3) dt_proptype(3) dt_setstringvalue(3)