CSReportDll.cReportFormulaInt.getVariables C# (CSharp) Method

getVariables() private method

private getVariables ( ) : cReportVariables
return cReportVariables
        internal cReportVariables getVariables()
        {
            return m_variables;
        }

Usage Example

        private void evalMin(cReportFormulaInt fint)
        {
            object value = null;

            if (fint.getVariables().item(C_MIN) == null)
            {
                fint.getVariables().add(null, C_MIN);
            }

            cReportVariable w_item = fint.getVariables().item(C_MIN);
            // The Min function is for numbers and strings
            //
            value = m_report.getValue(fint.getParameters().item(0).getValue());

            if (value.GetType() == typeof(String))
            {
                if (String.Compare(w_item.getValue().ToString(),
                                    value.ToString(),
                                    StringComparison.CurrentCulture) > 0)
                {
                    w_item.setValue(value);
                }
            }
            else
            {
                if ((double)w_item.getValue() > (double)value)
                {
                    w_item.setValue(value);
                }
            }
        }
All Usage Examples Of CSReportDll.cReportFormulaInt::getVariables