PCA Command
Establishes the current language setting. The current language
setting determines how symbol names are parsed.
Format
SET LANGUAGE language-name
1 – Parameters
language-name
Specifies the name of the language to be set. The valid language
names are Ada, (Ada is a registered trademark of the U.S.
government, Ada Joint Program Office.), BASIC, BLISS, C, C_PLUS_
PLUS, COBOL, DIBOL, FORTRAN, MACRO, Pascal, PLI, RPG, SCAN, and
UNKNOWN.
2 – Description
The language setting determines how PCA parses symbol names in
command input. If the language is set to C/C++, PCA treats symbol
names as case-sensitive. Upper-case and lower-case letters are
then treated as different characters. If the language is set to
anything other than C/C++, symbol names are assumed to be case
insensitive, and lowercase letters are treated as if they were
uppercase letters.
When you use the SET DATAFILE command, the language setting is
determined by the language of the main routine in the program.
Normally, you need not change this setting. However, if you have
a mixed-language program which includes C/C++ modules, you may
have to change the language setting before you can reference
symbols that include lowercase letters.
3 – Examples
PCAC> SET LANGUAGE PASCAL
This command changes the language setting to Pascal. Symbol
names are then parsed by Pascal rules. (Pascal is case
insensitive.)