23 Nov
1997
23 Nov
'97
5:27 a.m.
Peter Gerwinski wrote:
am i in trouble with many other built in functions..e.g I do need the DELAY function (i think it's built in)
(* In BP, it's not built-in, but it's in the unit Crt. Besides, it's buggy, but that's another story... *)
to wait a given delay time is this available in gpc?
Not yet for Linux. You can use the `select' function from the system library to implement it:
Wouldn't it be easier to use usleep(3), like: procedure usleep (usec: MedCard); C; inline procedure Delay (msec: Integer); begin usleep (1000 * msec) end; This is for Linux. Other platforms may vary... -- Frank Heckenbach, Erlangen, Germany fjf@gmx.de http://home.pages.de/~fjf/links.htm
10491
Age (days ago)
10491
Last active (days ago)
0 comments
1 participants
participants (1)
-
Frank Heckenbach