Changeset 43 for trunk/Compiler/UExecutor.pas
- Timestamp:
- Feb 29, 2012, 8:23:19 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Compiler/UExecutor.pas
r41 r43 9 9 10 10 type 11 TRunState = (rsStopped, rsPaused, rsRunning); 12 13 { TExecutor } 14 11 15 TExecutor = class 16 private 17 FRunState: TRunState; 18 procedure SetRunState(AValue: TRunState); 19 public 12 20 procedure Run; virtual; abstract; 13 21 procedure Pause; virtual; abstract; … … 18 26 procedure StepOut; virtual; abstract; 19 27 procedure RunToCursor(Pos: Integer); virtual; abstract; 28 property State: TRunState read FRunState write SetRunState; 20 29 end; 21 30 22 31 implementation 23 32 33 { TExecutor } 34 35 procedure TExecutor.SetRunState(AValue: TRunState); 36 begin 37 if FRunState=AValue then Exit; 38 FRunState:=AValue; 39 end; 40 24 41 end. 25 42
Note:
See TracChangeset
for help on using the changeset viewer.