Changeset 5 for trunk/Apps
- Timestamp:
- Nov 23, 2014, 9:04:03 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 2 2 ChronOS.lps 3 3 lib 4 heaptrclog.trc
-
- Property svn:ignore
-
trunk/Apps/UClock.pas
r4 r5 6 6 7 7 uses 8 Classes, SysUtils, UApp, dateutils ;8 Classes, SysUtils, UApp, dateutils, UKernel; 9 9 10 10 type … … 13 13 14 14 TAppClock = class(TApp) 15 procedure Run ; override;15 procedure Run(Task: TTask); override; 16 16 constructor Create; override; 17 17 end; … … 21 21 { TAppClock } 22 22 23 procedure TAppClock.Run ;23 procedure TAppClock.Run(Task: TTask); 24 24 begin 25 while not T erminated do begin25 while not Task.Terminated do begin 26 26 API.WriteText('test'); 27 27 API.Sleep(OneSecond);
Note:
See TracChangeset
for help on using the changeset viewer.