Harbour Reference Guide

 

__WAIT()

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" )
Tests
      do while cKey != "Q"
        cKey := __Wait( "Press 'Q' to continue" )
      end do
Status

Ready

Compliance

__WAIT() is fully CA-Clipper compliant.

Files

Library is rtl

See Also

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/06/26