Exemple #1
0
 protected override object OnCalc(IList <object> operands)
 {
     if (operands.Count > 0)
     {
         string file = operands[0] as string;
         ScriptProcessor.EndFile(file);
     }
     return(0);
 }
Exemple #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);
 }
Exemple #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);
 }
Exemple #4
0
 protected override object OnCalc(IList <object> operands, object[] args)
 {
     ScriptProcessor.EndFile();
     return(0);
 }
Exemple #5
0
 protected override CalculatorValue OnCalc(IList <CalculatorValue> operands)
 {
     ScriptProcessor.EndFile();
     return(0);
 }