Daylight v4.9
Release Date: 1 February 2008

Name

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 'dt_f_smiles.inc'

logical dt_f_setnumber(atom, value)

integer*4 atom
integer*4 value

Description

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

dt_number(3)