Daylight v4.9
Release Date: 1 February 2008

Name

dt_setcharge - specify the charge of an atom object

Generic Prototype

dt_setcharge(dt_Handle, dt_Integer) => dt_Boolean

C Prototype

#include "dt_smiles.h"

dt_Boolean dt_setcharge(dt_Handle atom, dt_Integer value)

FORTRAN Prototype

include 'dt_f_smiles.inc'

logical dt_f_setcharge(atom, value)

integer*4 atom
integer*4 value

Description

Sets the atoms formal charge. 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_charge(3)