Ejemplo n.º 1
0
 public void Initialise(Machine Machine, ScriptType Type)
 {
     Type.SetOperator(Operator.GetInd, this.GetInd);
     Type.SetOperator(Operator.SetInd, this.SetInd);
     Type.SetOperator(Operator.GetDot, this.GetDot);
     Type.SetOperator(Operator.SetDot, this.SetDot);
     Type.SetIterator(Iterator);
 }
Ejemplo n.º 2
0
            public void Initialise(Machine Machine, ScriptType Type)
            {
                Type.SetOperator(Operator.Add, this.Add);

                Type.SetOperator(Operator.Eq, this.Eq);
                Type.SetOperator(Operator.Neq, this.Neq);
                /*Type.SetOperator(Operator.Lt, this.Lt);
                Type.SetOperator(Operator.Lte, this.Lte);
                Type.SetOperator(Operator.Gt, this.Gt);
                Type.SetOperator(Operator.Gte, this.Gte);*/
            }
Ejemplo n.º 3
0
 public void Initialise(Machine Machine, ScriptType Type)
 {
     Type.SetOperator(Operator.Add, this.Add);
     Type.SetOperator(Operator.Sub, this.Sub);
     Type.SetOperator(Operator.Mul, this.Mul);
     Type.SetOperator(Operator.Div, this.Div);
     Type.SetOperator(Operator.Rem, this.Rem);
     Type.SetOperator(Operator.Neg, this.Neg);
     Type.SetOperator(Operator.BitOr, this.BitOr);
     Type.SetOperator(Operator.BitXor, this.BitXor);
     Type.SetOperator(Operator.BitAnd, this.BitAnd);
     Type.SetOperator(Operator.Eq, this.Eq);
     Type.SetOperator(Operator.Neq, this.Neq);
     Type.SetOperator(Operator.Lt, this.Lt);
     Type.SetOperator(Operator.Lte, this.Lte);
     Type.SetOperator(Operator.Gt, this.Gt);
     Type.SetOperator(Operator.Gte, this.Gte);
 }