# out statement

The out statement outputs a single ASCII
character derived from a numeric expression in the range of 0 through
255, which indicates its corresponding position in the ASCII table.

## Syntax

```
out num.exp
```

## Parameter(s)

| num.exp | Expression whose result is converted to its ASCII character equivalent. |
| --- | --- |

## Description

*num.exp* must
evaluate to a decimal number. It is evaluated and adjusted (mod(expression,256)) to a value between 0 and 255. The
corresponding ASCII character displays on the terminal.

## Example(s)

This prints char(7) and rings the terminal bell.

```
out 7
```

## See also

- [Numeric expressions](https://d3codex.com/pickbasic-flashbasic/numeric-expressions/)
- [ue0ba user exit](https://d3codex.com/pickbasic-flashbasic/ue0ba-user-exit/)

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