__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