comp.lang.ada
 help / color / mirror / Atom feed
From: Thomas Bruns <newsgroup@donbruno.de>
Subject: milliseconds and delay until
Date: Wed, 11 Jun 2003 20:31:52 +0200
Date: 2003-06-11T20:31:52+02:00	[thread overview]
Message-ID: <bc7smt$357$04$1@news.t-online.com> (raw)

Hello

how can I handle the until delay statement, too do this: ????


with ADA.Calendar; use ADA.Calendar;

procedure ....

MS : INTEGER; --milliseconds

begin
MS:= INTEGER(FLOAT(seconds(clock)) * 1000);

MS := MS + 100;

delay until MS; ---???? it is wrong :-( it must be a time type :-( but I
        -- need the clock from a fixed time and add some milliseconds... 
--and then the until delay statement....How can I handle this???

end;


-- 
PS:
HW: ASUS P4PE, PIV 2.4 GHz, 768 MB RAM, Geforce 4200, 
SW: Suse 8.2, Kernel 2.4.20, KDE 3.1.2, QT3.1.2, KDEVELOP 2.1.5



             reply	other threads:[~2003-06-11 18:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-11 18:31 Thomas Bruns [this message]
2003-06-11 18:46 ` milliseconds and delay until Jano
2003-06-11 18:58   ` Thomas Bruns
2003-06-11 19:29     ` Jano
2003-06-11 19:49 ` Simon Wright
2003-06-11 20:29   ` tmoran
2003-06-12  6:20   ` Dmitry A. Kazakov
2003-06-11 19:59 ` Frank J. Lhota
2003-06-12  3:06 ` Steve
2003-06-12 20:26   ` Simon Wright
2003-06-12 21:41     ` Martin Dowie
2003-06-14  6:04       ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox