Daylight v4.9 Release Date: 1 February 2008 Namedt_weight - return the atomic weight of an atomGeneric Prototypedt_weight(dt_Handle) => dt_IntegerC Prototype#include "dt_smiles.h"dt_Integer dt_weight(dt_Handle atom) FORTRAN Prototypeinclude 'dt_f_smiles.inc'integer*4 dt_f_weight(atom) integer*4 atom DescriptionFinds the atomic weight for the given atom.Return ValueReturns the atomic weight of the atom. The weight of an atom will be '0' if the atom is the default isotopic mixture. The weight of an atom will be a positive integer if and only if a non-default isotope is specified for the atom. For all other objects, this property is defined as -1.Related Topicsdt_addatom(3) dt_setweight(3) |