Daylight v4.9
Release Date: 1 February 2008

Name

dt_charge - retrieve the formal charge of an atom

Generic Prototype

dt_charge(dt_Handle) => dt_Integer

C Prototype

#include "dt_smiles.h"

dt_Integer dt_charge(dt_Handle atom)

FORTRAN Prototype

include 'dt_f_smiles.inc'

integer*4 dt_f_charge(atom)

integer*4 atom

Description

Finds the formal charge for the given atom.

Return Value

Returns the integer charge. For all other objects, this property is defined as DX_CHARGE_NONE.

Related Topics

dt_addatom(3) dt_number(3) dt_setcharge(3) dt_setnumber(3) dt_setweight(3) dt_weight(3)