class CGXFormula
CGXFormula is used by the CGXFormulaSheet::ParseExpression method to store a compiled formula expression in binary form. You can later pass this CGXFormula object to EvaluateExpression.
Example:
CGXFormula fm;
CString s;
if (ParseExpression(_T("=sin(1)"), fm)
&& EvaluateExpression(s, fm))
{
TRACE(_T("sin(1) = %s"), s);
}
else
{
GetError(s);
TRACE(_T("sin(1): Error - %s"), s);
}
#include <gxall.h>
See Also
CGXFormulaSheet::EvaluateExpression CGXFormulaSheet::ParseExpression