basic.casing Statement/BASIC Program

basic.casing

Command basic.casing Statement/BASIC Program
Applicable release versions: AP
Category BASIC Program (486)
Description toggles case sensitivity relative to input data and string comparisons in the current program and any called subroutines.

The Pick/BASIC casing flag is automatically initialized to the case setting at TCL (which may be set using the "case" verb).

With "casing on", the strings "quit", "Quit", and "QUIT" are treated as three different strings of characters. With "casing off", they are all treated as the same string.

With "casing on", system date strings are in upper case as in R83.

See system(27) and system(28) for the ability to interrogate the current status of case sensitivity.
Syntax casing on
casing off
casing expression
Options
Example
casing on
crt "enter quit " :
input quit
if quit = "quit" then crt "lower case" end else crt 
"upper case"
Entering "quit" causes the program to display "lower case". 
Any upper case character in input, like "Quit", would cause the 
program to display "upper case".
Purpose
Related basic.statements
basic.casing.off
basic.substring.expressions
basic.substring.field.store
basic.
basic.substring.extraction
basic.substring.assignment
tcl.case
basic.system
tcl.basic
basic.casing.on
basic.quotes
pc.d