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.... |
Home ChemPack CForm TMolForm Methods ScanNextFormPart | |||||||
See also: ReadFromString, MolFormula | |||||||
ScanNextFormPart |
|||||||
The method ScanNextFormPart scans the string Instring containing a molecular formula and returns the next valid part of a molecular formula. The scanning starts at position index. If a valid atom specification is found, the parameters AtNr, AtWt, and AtNum contain the corresponding values and the function returns a TRUE value. The value of index is set to the next unprocessed position of Instring. The format of the string has to be equal to the format of the property MolFormula.
|