# u21a3 user exit

The u21a3 user exit opens a file, or
reads the next attribute from a file.

## Syntax

```
result = iconv(file.ref, ’u21a3’)
var = oconv(’’, ’u21a3’)
```

## Description

If used in an iconv, it opens a file.

If the open was successful, *result* contains a 1.

If used in an oconv, it reads
the next attribute.

## Example(s)

```
result = iconv(’bp fdisk’, u21a3’)
var = oconv(’’, ’u21a3’)
```
Opens the file `bp, fdisk`, and reads the
next attribute into the variable.

## See also

- [open statement](https://d3codex.com/pickbasic-flashbasic/open-statement/)
- [readnext statement](https://d3codex.com/pickbasic-flashbasic/readnext-statement/)

---
Source: https://d3codex.com/pickbasic-flashbasic/u21a3-user-exit/ - part of the D3Codex reference.
