CSReportDll.cReportCompiler.evalAddToVar C# (CSharp) Метод

evalAddToVar() приватный Метод

private evalAddToVar ( cReportFormulaInt fint ) : void
fint cReportFormulaInt
Результат void
        private void evalAddToVar(cReportFormulaInt fint)
        {
            String varName = "";

            varName = fint.getParameters().item(0).getValue();

            if (m_variables.item(varName) == null)
            {
                throw new ReportArgumentMissingException(
                    C_MODULE,
                    cReportError.errGetDescript(
                                    csRptErrors.CSRPTERRMISSINGPARAM,
                                    varName,
                                    "_evalAddToVar"));
            }

            cReportVariable w_item = m_variables.item(varName);
            // the EvalAddToVar function is for numbers
            //
            w_item.setValue((double)w_item.getValue() 
                                + pGetNumber(fint.getParameters().item(1).getValue()));
        }