示例#1
0
        public override SValue Clone()
        {
            SBool ret = new SBool((bool)Underlying);

            SValue.CopyAttributes(ret, this);
            return(ret);
        }
示例#2
0
        public override SValue Evaluate(ExecEnvironment env)
        {
            SValue ret = new SBool(false);

            foreach (SExpression se in expressions)
            {
                ret = se.Evaluate(env);
            }

            return(ret);
        }
示例#3
0
        public override SValue Evaluate(ExecEnvironment env)
        {
            SValue ret = new SBool(false);

            foreach (var e in SExpression.EvalSExpressions(arguments, env))
            {
                ret = e;
                Console.Write(printSValue(e, env, 2));
            }
            Console.Write(delim);

            return(ret);
        }