Template
Function
Name
__Wait()
Category
API
Subcategory
Events
Oneliner
Stops the application until a key is pressed.
Syntax
__Wait( <cMessage> ) --> <cKey>
Arguments
<cMessage> is a string.
Returns
Pressed key.
Description
This function stops the application until a key is pressed. The key must be in the range 32..255. Control keys are not processed.
Examples
// Wait for a key stroke __Wait( "Press a key to continue" ) // DO WHILE !( cKey == "Q" ) cKey := __Wait( "Press 'Q' to continue" ) ENDDO
Compliance
Clipper
Files
Library is core
Seealso
__Accept(), __Input()
Pingback: Harbour Internal Functions | Viva Clipper !
Pingback: Harbour Internal Functions | Viva Clipper !
Pingback: Harbour Terminal Functions | Viva Clipper !
Pingback: Harbour RG Summary | Viva Clipper !