Daylight v4.9
Release Date: 1 February 2008

Name

dt_integer - retrieve the integer value of a named property

Generic Prototype

dt_integer(dt_Handle, dt_String name) => dt_Integer

C Prototype

#include "dt_smiles.h"

dt_Integer dt_integer(dt_Handle object, dt_Integer nlen, dt_String pname)

FORTRAN Prototype

include 'dt_f_smiles.inc'

integer*4 dt_f_integer(object, pname)

integer*4 object
character*() pname

Description

Gets the integer value of a named property 'pname' for an object.

Return Value

Returns the integer value for the named property for the object. If the named property is not of type DX_PROP_INTEGER (set with dt_setinteger(3)), the property is defined as 0.

Related Topics

dt_proptype(3) dt_setinteger(3)