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...