# uc0ba user exit

The uc0ba user exit writes a value into
a memory address.

## Syntax

```
dummy = oconv(memory.location, ’uc0ba’)
```
Note: We recommend that you read the contents of a memory
location before writing to it, as many locations require that new
values be tested against existing data using the and and or connectives.

## Description

| memory.location = ’0000’ | Memory segment. |
| --- | --- |
| memory.location = ’09e6’ | Offset. |
| memory.location = ’01’ | Value to write. |
The memory location 0000:09e6 now contains the value 0x0001.

## See also

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

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