示例#1
0
        protected override void AddParsedFunction(TCellFunctionData Func, byte ArgCount)
        {
            ptg FmlaPtg;

            if (Func.MinArgCount != Func.MaxArgCount || Func.FutureInXls)
            {
                FmlaPtg = GetRealPtg(ptg.FuncVar, Func.ReturnType);
            }
            else
            {
                FmlaPtg = GetRealPtg(ptg.Func, Func.ReturnType);
            }

            TBaseParsedToken FmlaToken = TParsedTokenListBuilder.GetParsedFormula(FmlaPtg, Func, ArgCount);

            Push(FmlaToken);
        }
示例#2
0
        protected static void AddParsedFormula(TParsedTokenListBuilder TokenBuilder, ptg FmlaPtg, TCellFunctionData Func, byte ArgCount)
        {
            TBaseParsedToken FmlaToken = TParsedTokenListBuilder.GetParsedFormula(FmlaPtg, Func, ArgCount);

            Push(TokenBuilder, FmlaToken);             //Always push unsupported.
        }