# ta statement

The ta statement toggles or resets the
type-ahead buffer.

## Syntax

```
ta [on|off|clear|exp]
```

## Parameter(s)

| on | Turns on the type-ahead buffer. |
| --- | --- |
| off | Turns off the type-ahead buffer. |
| clear | Clears the type-ahead buffer. |
| exp | The type-ahead input buffer is turned on if the expression evaluates to nonzero (true) and turned off if it evaluates to 0 (false). |

## Description

The BASIC ta statement is equivalent to the TCL type-ahead command and the BASIC inputclear statement.

---
Source: https://d3codex.com/pickbasic-flashbasic/ta-statement/ - part of the D3Codex reference.
