# u014b user exit

The u014b user exit writes an absolute
disk sector.

## Syntax

```
result = oconv(write.command, ’u014b’)
```

## Parameter(s)

| result | A status code indicating: |
| --- | --- |
| 00 | Successful. |
| xx | Failed, where xx is any nonzero code. |
| write.command | write.command = drive.num , , block.num |
| drive.num | 1 = Drive A: 2 = Drive B: 3 = Drive C: 4 = Drive D: |
| | Value mark. |
| block.num | Logical disk block number to write. |
| write.command = mode | |
| Can be: | |
| 1 | Convert hexadecimal to ASCII. |
| write.command | u014b |
| write.command | A sector’s worth of data to write, in 1024 2-digit hexadecimal characters, which corresponds to a 512-byte sector. |

## See also

- [u0039 user exit](https://d3codex.com/pickbasic-flashbasic/u0039-user-exit/)
- [u014a user exit](https://d3codex.com/pickbasic-flashbasic/u014a-user-exit/)

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