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

Status

  Ready

Compliance

  SETTYPEAHEAD() is fully CA-Clipper compliant.

Files

  Library is rtl

See Also

- __ACCEPT()
- __INPUT()