Fixed the issue that RANDOM is replaced incorrectly in Measure=Calc.

This commit is contained in:
spx
2010-08-11 18:08:41 +00:00
parent 3d33a16f9f
commit 8fe2a26a51
2 changed files with 54 additions and 9 deletions

View File

@ -35,6 +35,8 @@ public:
private:
void FormulaReplace();
bool IsDelimiter(WCHAR ch);
std::wstring m_Formula;
std::wstring m_FormulaHolder;
hqMathParser* m_Parser;
@ -42,9 +44,9 @@ private:
static hqStrMap* c_VarMap;
static bool c_RandSeeded;
int m_UpdateRandom;
int m_LowBound;
int m_HighBound;
bool m_UpdateRandom;
};
#endif