コード例 #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;
 }
コード例 #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;
 }
コード例 #3
0
 protected override void SetMyBlockInternalArg()
 {
     myBlockInternalArg = new IntDataType(this, output);
 }