Daylight v4.9
Release Date: 1 February 2008


dt_symbol - find the symbolic name for an object

Generic Prototype

dt_symbol(dt_Handle) => dt_String

C Prototype

#include "dt_smiles.h"

dt_String dt_symbol(dt_Integer *len, dt_Handle atom)

FORTRAN Prototype

include ''

integer*4 dt_f_symbol(atom, string)

integer*4 atom
character*() string


Finds the atomic symbol for the given atom.

Return Value

Returns the symbol of the atom. The symbol for all other types of objects is defined as the 'invalid string'.

Related Topics

For atoms: dt_addatom(3) dt_alloc_mol(3) dt_mod_is_on(3) dt_mod_off(3) dt_mod_on(3) dt_number(3) dt_setnumber(3) dt_setweight(3) dt_smilin(3) dt_weight(3)