예제 #1
0
 protected override object OnCalc(IList <object> operands)
 {
     if (operands.Count > 0)
     {
         string file = operands[0] as string;
         ScriptProcessor.EndFile(file);
     }
     return(0);
 }
예제 #2
0
 protected override object OnCalc(IList <object> operands)
 {
     if (operands.Count > 1)
     {
         string file = operands[0] as string;
         uint   size = (uint)Convert.ChangeType(operands[1], typeof(uint));
         ScriptProcessor.EndFile(file, size);
     }
     return(0);
 }
예제 #3
0
 protected override object OnCalc(IList <object> operands)
 {
     if (operands.Count > 0)
     {
         string file = operands[0] as string;
         if (!string.IsNullOrEmpty(file))
         {
             ScriptProcessor.EndFile(file);
         }
     }
     return(0);
 }
예제 #4
0
 protected override object OnCalc(IList <object> operands, object[] args)
 {
     ScriptProcessor.EndFile();
     return(0);
 }
예제 #5
0
 protected override CalculatorValue OnCalc(IList <CalculatorValue> operands)
 {
     ScriptProcessor.EndFile();
     return(0);
 }