# inputclear statement

The inputclear statement clears the
keyboard type-ahead buffer.

## Syntax

```
inputclear
```

## Example(s)

```
print ’Do you wish to continue? (y/n) ’:
inputclear
input answer,1
```

## See also

- [BASIC (glossary)](https://d3codex.com/definitions/basic-glossary/)
- [cleardata statement](https://d3codex.com/pickbasic-flashbasic/cleardata-statement/)

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