aboutsummaryrefslogtreecommitdiff
path: root/doc/language/function/cpsc-function-chr.7.md
blob: 59b3121161f44abd029a923b917d3a7a1920fb19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

% CPSC-FUNCTION-CHR(7)

# NAME

cpsc-function-chr - convert a byte code to text

# SYNOPSIS

```text
CHR(code : INTEGER) RETURNS STRING
```

# DESCRIPTION

Convert the low eight bits of code to a one-byte string.
The result is STRING, not CHAR. Use ASCII codes 1 to 127 for
ordinary text; code 0 produces an empty string.

# EXAMPLE

```text
OUTPUT CHR(65)
```

# SEE ALSO

[cpsc-language-overview(7)](../cpsc-language-overview.7.md), [cpsc-function-asc(7)](cpsc-function-asc.7.md).