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


Declaration:function CalcMolecularFormula (var BForm: TFormulaRec): boolean;

The function CalcMolecularFormula calculates the molecular formula from the connection table. The variable parameter BForm contains the calculated formula. The function returns a value of FALSE if any problem occurred.

Warning: This procedure may fail for exotic molecules !

Last Update: 2012-Okt-20