# case command

The case command toggles case-sensitivity
on the current port, or displays its present condition when used without
options.

## Syntax

```
case {(options}
```

## Parameter(s)

| options | f | Toggles off case sensitivity. Note: Case insensitivity is the system default. |
| --- | --- | --- |
| n | Toggles on case sensitivity. | |
| s | Suppresses output of the status message. | |
For a system to run with the ability to be case-sensitive
and case-insensitive among different users, the entire operating system
must be structured so that the database remains independent of case.
All lookups for commands, item types, codes, so on are case-insensitive
by default. This basically means that all dictionary lookups are case-insensitive.

Two macro versions of this command, case-on and case-off, are provided to direct comparisons
within data files to be case-sensitive or case-insensitive.

The type of comparisons performed on data within attributes using
AQL are determined by the status of the case bit.

The default
is case insensitive. To remain case sensitive, add the case-on command to the user logon macro.

## Example(s)

Displays the current state of
case interpretation.

```
case
[1319] Case insensitive.
```
Toggles case sensitivity on.

```
case (n
[1318] Case sensitive.
```
Toggles case sensitivity off.

```
case (f
[1319] Case insensitive.
```

## See also

- [account-restore command](https://d3codex.com/tcl/account-restore-command/)
- [case-file command](https://d3codex.com/tcl/case-file-command/)
- [casing statement](https://d3codex.com/pickbasic-flashbasic/casing-statement/)
- [conv-case command](https://d3codex.com/tcl/conv-case-command/)
- [item command](https://d3codex.com/tcl/item-command/)
- [Port number](https://d3codex.com/definitions/port-number/)
- [users file](https://d3codex.com/systemfiles/users-file/)

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