[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DelayKey


Purpose   Pauses while the user presses a key or a specified time period
          elapses.

Decln.    DelayKey(Time:integer);

Remarks   Time is the maximum delay period in milliseconds, e.g. 1000 for a
          second.

          This procedure is very useful for temporarily displaying
          messages, copyright screens, etc. As soon as the user presses a
          key (or mouse activity occurs), the procedure ends.

Example

BEGIN
    DISPLAY_HELP;
    DELAYKEY(10000);
    CLRSCR;
END;

See Also: GetKey
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson