tcl.case

Verb: Access/TCL, Releases: AP

Toggles effect of upper/lower case sensitivity.

Syntax

case {(option}

Description

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

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 data base remains independent of case. All lookups for commands, item types, codes, etc. are 'case insensitive' by default. This basically means that all dictionary lookups will be case insensitive.

Two macro versions of this verb, '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 Access will be determined by the status of the case bit.

The default is case insensitive.

To remain case sensitive, add the 'case-on' verb to the user logon macro.

Options

f Turns off case sensitivity. Case insensitivity is the system default.

n Turns on case sensitivity.

s Suppresses output of status message.

Example

case
[1319] Case insensitive.
This form of the command displays the current state of case interpretation.

case (n
[1318] Case sensitive.
This form of the 'case' command toggles case sensitivity
'on'.

case (f
[1319] Case insensitive.
This form of the 'case' command toggles case sensitivity
'off'.

See Also

Command Name Type Description
basic.casing Statement Enables or disables case sensitivity.
tcl.case-off Verb: Access Invokes 'case' command with 'f' option.
port.number Definition The port number associated with the process.
tcl.item Verb: Access Displays group to which item hashes.
tcl.conv-case Verb: Access Converts item-ids to upper/lower case.
filename.users Definition Description of the 'users' file.
tcl.case-file Verb: Access Converts case of items in file
tcl.case-on Verb: Access Invokes 'case' command with 'n' option.
tcl.account-restore Verb: Access Restores one account.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.