[fpc-pascal]Sleep until key press?

Rich Pasco pasco at acm.org
Sun Apr 1 00:58:14 CEST 2001


This works under Windows; I don't know about Linux:

  uses Windows, CRT;
  begin
    ...
    while not keypressed do sleep(1);
    ...

     - Rich




More information about the fpc-pascal mailing list