Пример #1
0
        protected override CalculatorValue OnCalc(IList <CalculatorValue> operands)
        {
            string info = operands[0].AsString;

            ScriptProcessor.End(info);
            return(0);
        }
Пример #2
0
        protected override object OnCalc(IList <object> operands)
        {
            string info = operands[0] as string;

            ScriptProcessor.End(info);
            return(0);
        }
Пример #3
0
 protected override object OnCalc(IList <object> operands)
 {
     if (operands.Count > 0)
     {
         string info = operands[0] as string;
         if (null != info)
         {
             ScriptProcessor.End(info);
         }
     }
     return(0);
 }