home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programming
/
powerprogramming1994.iso
/
progtool
/
pibterm
/
pibt41s3.arc
/
PRESSANY.MOD
< prev
next >
Wrap
Text File
|
1987-12-26
|
2KB
|
40 lines
(*----------------------------------------------------------------------*)
(* Press_Any --- Issue a "press any key to continue" message *)
(*----------------------------------------------------------------------*)
PROCEDURE Press_Any;
(*----------------------------------------------------------------------*)
(* *)
(* Procedure: Press_Any *)
(* *)
(* Purpose: Issue 'press any key to continue' message *)
(* *)
(* Calling Sequence: *)
(* *)
(* Press_Any; *)
(* *)
(* Remarks: *)
(* *)
(* If machine not in Attended_Mode, then no message is issued, *)
(* and a two-second delay is executed. *)
(* *)
(*----------------------------------------------------------------------*)
VAR
Ch: CHAR;
BEGIN (* Press_Any *)
IF Attended_Mode THEN
BEGIN
WRITE('*** Hit ESC key to continue ... ');
Read_Kbd( Ch );
IF ( ORD( Ch ) = ESC ) AND PibTerm_KeyPressed THEN
Read_Kbd( Ch );
END
ELSE
Window_Delay;
END (* Press_Any *);