Daylight v4.9
Release Date: 1 February 2008


dt_setnumber - specify the atomic number of an atom object

Generic Prototype

dt_setnumber(dt_Handle, dt_Integer) => dt_Boolean

C Prototype

#include "dt_smiles.h"

dt_Boolean dt_setnumber(dt_Handle atom, dt_Integer value)

FORTRAN Prototype

include ''

logical dt_f_setnumber(atom, value)

integer*4 atom
integer*4 value


Sets the atoms atomic number to 'value'. May only be used when the molecule is in the modify-on state.

Return Value

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

Related Topics