Harbour Terminal Functions

Alert
Col
DevOutPict
HB_ColorIndex
HB_EOL
MaxCol
MaxRow
OutErr
OutStd

SayScreen

Row

Advertisements

SetTypeahead()

SetTypeahead()

Sets the typeahead buffer to given size.

Syntax

      SetTypeahead( <nSize> ) --> <nPreviousSize>

Arguments

<nSize> is a valid typeahead size.

Returns

<nPreviousSize> The previous state of _SET_TYPEAHEAD

Description

This function sets the typeahead buffer to a valid given size as is Set(_SET_TYPEAHEAD) where used.

Examples

      // Sets typeahead to 12
      SetTypeahead( 12 )

Compliance

Clipper

Files

Library is core

Seealso

__Accept(), __Input()

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