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; }
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; }
protected override void SetMyBlockInternalArg() { myBlockInternalArg = new IntDataType(this, output); }