__Wait()

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()

4 responses to “__Wait()

  1. Pingback: Harbour Internal Functions | Viva Clipper !

  2. Pingback: Harbour Internal Functions | Viva Clipper !

  3. Pingback: Harbour Terminal Functions | Viva Clipper !

  4. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.