clear_type_ahead

Syntax

clear_type_ahead;

Terse form

cta

Type

SDC Function - code x'8F'

Parameters

Clears any buffered user input.

Description

None.

References

TR-NWT-001273.

Example

function passcode {
  clear_virtual_display;
  clear_soft_key_table;
  clear_type_ahead;
  info INAM=1;
  load_soft_key_table 2 ENTERCODE;
  load_virtual_display 1 wi=1 h1=r1 "Enter Passcode" lrci=c:
  load_virtual_display 2 " ";
  load_virtual_display 3 " ";
  load_virtual_display 4 " ";
  load_virtual_display 5 "then press ENTER";
  line_control 1;
  input_format 1 "Code:              " r1=0;
  input_control 3 1 lrci=c dy=1 an=0 page=i;
  initialise_soft_key_line sk1=2;
}