Esempio n. 1
0
 public override void EvaluateArgumentList()
 {
     if (GetArgumentAt(0)?.EvaluateArgument().GetType() != typeof(ArrayDataStructure))
     {
         arr = null;
     }
     else
     {
         arr = GetArgumentAt(0)?.EvaluateArgument() as ArrayDataStructure;
         arr.EvaluateArgumentList();
     }
     index = GetArgumentAt(1)?.EvaluateArgument() as IntDataType;
 }
Esempio n. 2
0
 public override void EvaluateArgumentsOfInstruction()
 {
     if (GetArgument(arrIndexArgKey)?.EvaluateArgument().GetType() != typeof(ArrayDataStructure))
     {
         arr = null;
     }
     else
     {
         arr = GetArgument(arrIndexArgKey)?.EvaluateArgument() as ArrayDataStructure;
         //arr.EvaluateArgumentsOfInstruction();
     }
     index = GetArgument(arrIndexArgKey)?.EvaluateArgument() as IntDataType;
 }
Esempio n. 3
0
 protected override void SetMyBlockInternalArg()
 {
     myBlockInternalArg = new IntDataType(this, output);
 }