示例#1
0
        Calculate()
        {
            Semantics semantics = new Semantics(this);

            FormulaParser.Parser fp = new FP.Parser(Formula, semantics);
            fp.Parse();
            _value = fp.Result;
            Dirty  = false;
        }
示例#2
0
 public void Calculate()
 {
     Semantics semantics = new Semantics(this);
       FormulaParser.Parser fp = new FP.Parser(Formula, semantics);
       fp.Parse();
       _value = fp.Result;
       Dirty = false;
 }