Esempio n. 1
0
        public override Object Eval()
        {
            Object varValue = parser.getVariable(varName);

            if (varValue == null)
            {
                Console.WriteLine("Undefined Variable...Var Name: " + varName);
                Environment.Exit(1);
            }
            return(varValue);
        }