-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathR3Delp03.pas
41 lines (34 loc) · 1.61 KB
/
R3Delp03.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
unit R3Delp03;
(* Programid : RnMod3d *)
(* Versionid : Version 0.8 (Sep. 15, 1997 - July 18, 2000) *)
(* Description : Radon transport model - 3D time-dependent - finite volume *)
(* Programmer1 : Claus E. Andersen, Risoe National Laboratory *)
(* Programmer2 : DK-4000 Roskilde, Denmark. [email protected] *)
(* Copyright : Risoe National Laboratory, Denmark *)
(* Documentation : User's Guide to RnMod3d, Risoe-R-1201(EN) *)
(* Files : R3Defi03.pas = Global definitions *)
(* R3Main03.pas = Main program *)
(* R3Delp03.pas = Special Delphi 3.0 / Borland Pascal 7.0 code *)
(* R3Dirs03.pas = Compiler directives *)
(* R3Writ03.pas = Mainly procedures for writing text *)
interface
procedure getdate(var year,month,day,dayofweek:word);
procedure gettime(var hour,minute,second,sec100:word);
implementation
uses sysutils;
procedure getdate(var year,month,day,dayofweek:word);
var td1:TdateTime;
begin
td1:=Date;
DecodeDate(td1,year,month,day);
dayofweek:=0; (* Not implemented *)
end;
procedure gettime(var hour,minute,second,sec100:word);
var tt1:TdateTime; milsec:word;
begin
tt1:=time;
DecodeTime(tt1,hour,minute,second,milsec);
sec100:=milsec div 10;
end;
begin
end.