Changeset 124 for trunk/UBFTarget.pas
- Timestamp:
- Jan 14, 2022, 3:03:42 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UBFTarget.pas
r115 r124 63 63 implementation 64 64 65 resourcestring 66 SUnsupportedCommand = 'Unsupported command %d'; 67 65 68 { TMachineOperation } 66 69 … … 336 339 NewProgram[NewProgramIndex] := FProgram[FProgramIndex]; 337 340 end; 338 else raise Exception.Create(Format( 'Unsupported command %d', [FProgram[FProgramIndex].Command]));341 else raise Exception.Create(Format(SUnsupportedCommand, [FProgram[FProgramIndex].Command])); 339 342 end; 340 343 DebugSteps.UpdateTargetPos(FirstIndex, FProgramIndex, NewProgramIndex, NewTargetIndex); … … 440 443 end; 441 444 end; 442 else raise Exception.Create(Format( 'Unsupported command %d', [FProgram[FProgramIndex].Command]));445 else raise Exception.Create(Format(SUnsupportedCommand, [FProgram[FProgramIndex].Command])); 443 446 end; 444 447 DebugSteps.UpdateTargetPos(FirstIndex, FProgramIndex, NewProgramIndex, NewTextIndex);
Note:
See TracChangeset
for help on using the changeset viewer.