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....



CElemName


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

The function CElemName 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: 2012-Oct-20