# u3079 user exit

The u3079 user exit returns the PCB
FID of the current process, or returns the port number of the current
process.

## Syntax

```
pcb.fid = iconv(port.num, ’u3079’)
port.num = oconv(pcb.fid, ’u3079’)
```

## Description

- If iconv is used, it returns the PCB FID in hexadecimal of the current process.

- If oconv is used, it returns the port number of the current process.

- If another port is specified, then the port number must be in hexadecimal.

## Example(s)

```
a = iconv(0, ’u3079’)
a is the PCB for port 0 (in hexadecimal).
a = oconv(’02c0’, ’u3079’)
```
`a` is Port 0 for a system with 704 ABS
frames.

## See also

- [u2070 user exit](https://d3codex.com/access/u2070-user-exit/)
- [u2117 user exit](https://d3codex.com/pickbasic-flashbasic/u2117-user-exit/)
- [u3070 user exit](https://d3codex.com/access/u3070-user-exit/)
- [u4117 user exit](https://d3codex.com/pickbasic-flashbasic/u4117-user-exit/)
- [u5117 user exit](https://d3codex.com/pickbasic-flashbasic/u5117-user-exit/)

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