# inputerr statement

The inputerr statement displays a message
on the status (bottom) line of the terminal. it meant to be used with
the input@ statement.

## Syntax

```
inputerr str.exp
```

## Parameter(s)

| str.exp | Error message text. |
| --- | --- |

## Description

If inputerr is used in a subroutine call from the Update processor, the item
cannot be filed if an error exists. In this case, control returns
to the Update processor input screen.

## Example(s)

This program has a single valid
entry, `e`. If any other string is entered, the string Entry error displays on the error message line.

```
string=’’
prompt ’’
crt @(0,10):"Enter string "
loop
 input @(15,10):string,5
until string=’e’ do
 inputerr ’entry error’
repeat
```

## See also

- [call processing code](https://d3codex.com/processingcodes/call-processing-code/)
- [callx (write trigger) processing code](https://d3codex.com/processingcodes/callx-write-trigger-processing-code/)
- [delete statement](https://d3codex.com/pickbasic-flashbasic/delete-statement/)
- [inputnull statement](https://d3codex.com/pickbasic-flashbasic/inputnull-statement/)
- [inputtrap...gosub statement](https://d3codex.com/pickbasic-flashbasic/inputtrap-gosub-statement/)
- [inputtrap...goto statement](https://d3codex.com/pickbasic-flashbasic/inputtrap-goto-statement/)
- [Statements and functions](https://d3codex.com/pickbasic-flashbasic/statements-and-functions/)
- [write statement](https://d3codex.com/pickbasic-flashbasic/write-statement/)

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