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

evalIsNotEqual() private méthode

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

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

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

            w_item.setValue(strValue != strConstValue);
        }