CSReportDll.cReportCompiler.evalIsEqual C# (CSharp) Méthode

evalIsEqual() private méthode

private evalIsEqual ( cReportFormulaInt fint ) : void
fint cReportFormulaInt
Résultat void
        private void evalIsEqual(cReportFormulaInt fint)
        {
            if (fint.getVariables().item(C_ISEQUAL) == null)
            {
                fint.getVariables().add(null, C_ISEQUAL);
            }

            cReportVariable w_item = fint.getVariables().item(C_ISEQUAL);
            // the IsEqual function is for numbers
            //
            String strValue = "";
            String strConstValue = "";

            strValue = m_report.getValue(fint.getParameters().item(0).getValue(), true).ToString();
            strConstValue = fint.getParameters().item(1).getValue();

            w_item.setValue(strValue == strConstValue);
        }