Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
From: Tom Schneider
Subject: time stamp problem? timebug.p
Date: 17 Jul 2000, 22:34:34
program timebug(output);
(*
Dr. Thomas D. Schneider
National Cancer Institute
Laboratory of Experimental and Computational Biology
Frederick, Maryland 21702-1201
toms@ncifcrf.gov
permanent email: toms@alum.mit.edu
http://www.lecb.ncifcrf.gov/~toms/
According to:
8.255 TimeStamp
http://agnes.dida.physik.uni-essen.de/~gnu-pascal/gpc_389.html#SEC389
and
7.10.8 Date And Time Routines
http://agnes.dida.physik.uni-essen.de/~gnu-pascal/gpc_109.html#SEC109
and also
http://agnes.dida.physik.uni-essen.de/~gnu-pascal/gpc_114.html#SEC114
(TIME HANDLING ROUTINES)
but
timebug.p: In function `pascal_main_program':
timebug.p:57: TimeStamp record type parameter required
What did I do wrong?
*)
const
version = 1.00; (* of timebug.p 2000 July 17
origin 2000 Jul 17 *)
type
TimeStamp = {@@packed} record
DateValid,
TimeValid : Boolean;
Year : Integer;
Month : 1 .. 12;
Day : 1 .. 31;
DayOfWeek : 0 .. 6; { 0 means Sunday }
Hour : 0 .. 23;
Minute : 0 .. 59;
Second : 0 .. 61; { to allow for leap seconds }
MicroSecond : 0 .. 999999
end;
var
t: TimeStamp;
begin
GetTimeStamp(t);
end.
Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.
Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.
This page was created by Crystal 0.999 (Linux 2.4.27/i686).