# xcs command

The xcs BASIC program enables or disables
the extended character set for the current port or a specific port,
or displays the status when no options are provided.

## Syntax

```
xcs {port.number} {(options)}
```

## Parameter(s)

| options | f | Toggles xcs off. |
| --- | --- | --- |
| n | Toggles xcs on. | |
| s | Suppresses the output of status messages. | |
| t | Toggles xcs. If on, this turns it off, and vice-versa. | |
When xcs is on, the high order bit is
not stripped from input that is transmitted to the system. This allows
characters in the range 128 through 255 to be used as unique characters.

When xcs is off, the high order bit is stripped
from input. Characters from 128 through 255 are not available.

Two macros, xcs-on and xcs-off, have been provided to toggle this function.

## See also

- [inputparity statement](https://d3codex.com/pickbasic-flashbasic/inputparity-statement/)
- [Port number](https://d3codex.com/definitions/port-number/)
- [xcs-off macro](https://d3codex.com/tcl/xcs-off-macro/)
- [xcs-on macro](https://d3codex.com/tcl/xcs-on-macro/)

---
Source: https://d3codex.com/tcl/xcs-command/ - part of the D3Codex reference.
