# _CP_at1

_CP_at1 is equivalent to the `*result* = @(*x*)` BASIC
statement.

## Syntax

```
int _CP_at1(CPSTR** result, int x)
```

## Description

This function returns -1 if
an error occurs. The error code is contained in _CP_errno.

## Example(s)

```
/* clear the screen */
CPSTR * s = _CP_str_null;
_CP_at1(&s,-1);
_CP_print(s);
```

## See also

- [C functions overview](https://d3codex.com/cfunctions/c-functions-overview/)

---
Source: https://d3codex.com/cfunctions/cp-at1/ - part of the D3Codex reference.
