예제 #1
0
        protected override Variable Evaluate(ParsingScript script)
        {
            List <Variable> args = script.GetFunctionArgs();

            Utils.CheckArgs(args.Count, 1, m_name);

            var  tabName = Utils.GetSafeString(args, 0);
            bool added   = CSCS_GUI.RemoveTab(tabName);

            return(new Variable(added));
        }