|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 MathPack Math2 Procedures and Functions ExtractVarNames|
|See also: TMathExpression|
The procedure ExtractVarnames extracts all variable names contained in the mathematical expression Formula and returns their names in the stringlist VNames. Please note that the equation is evaluated according to the same rules as in TMathExpression recognizing all the predefined functions of TMathExpression.
The function returns a value of -1 if the expression is syntactically wrong, or the number of found variables.