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



AtNum


Unit:SDL_cform
Class:TMolForm
Declaration:property AtNum[ix: integer]: integer;

The array property AtNum contains the atomic number of each kind of atoms of the molecular formula. The parameter ix may vary between 1 and NumAtoms. The molecular formula of TMolForm may be manipulated by changing AtNum.

Please note, that the molecular formula display is not updated if AtNum is changed. You have to call the method ShowIt explicitly in order to refresh the display.

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



Last Update: 2012-Oct-20