The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



CElemSymb


Unit:SDL_cdata
Class:none
Declaration:function CElemSymb (AtNr: integer): string;

The function CElemSymb returns the atomic symbol for a given atomic number. The parameter AtNr may take any value between 1 and 103 (MaxChemElem). Any other value of AtNr results in a returned empty string.

Example: This function is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): periosys



Last Update: 2023-Feb-06