Daylight v4.9
Release Date: 1 February 2008

Name

dt_setweight - specify the atomic weight of an atom

Generic Prototype

dt_setweight(dt_Handle, dt_Integer) => dt_Boolean

C Prototype

#include "dt_smiles.h"

dt_Boolean dt_setweight(dt_Handle atom, dt_Integer value)

FORTRAN Prototype

include 'dt_f_smiles.inc'

logical dt_f_setweight(atom, value)

integer*4 atom
integer*4 value

Description

Sets the atoms atomic weight 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_weight(3)