コード例 #1
0
        /// <summary>
        /// CAbs.CreateInstance returns an instance of the CAbs object
        /// with the passed CValue object(s).
        /// </summary>
        /// <param name="alValues">An arraylist of values passed by the compiler.</param>
        /// <returns></returns>
        public override EqCompiler.CFunction CreateInstance( ArrayList alValues )
        {
            CAbs oAbs = new CAbs();
            oAbs.SetValue( alValues );

            return oAbs;
        }
コード例 #2
0
        /// <summary>
        /// CAbs.CreateInstance returns an instance of the CAbs object
        /// with the passed CValue object(s).
        /// </summary>
        /// <param name="alValues">An arraylist of values passed by the compiler.</param>
        /// <returns></returns>
        public override EqCompiler.CFunction CreateInstance(ArrayList alValues)
        {
            CAbs oAbs = new CAbs();

            oAbs.SetValue(alValues);

            return(oAbs);
        }