Setting Case Sensitivity

Related Topics:

Language and Scoping Defaults

Normally, Sun WorkShop distinguishes between upper- and lower-case characters when reading variable and function names. You can turn off the case sensitivity so that all characters are read as lower-case. The default is case sensitive, except for Fortran, which is case insensitive for enhanced performance.

To turn off case sensitivity:

1. In the Debugging Window, choose Debug Debugging Options. Or, in the Sun WorkShop main window, choose Options Debugging Options.

2. In the Debugging Options Dialog Box, click the Language and Scoping tab.

3. At Case sensitivity, click No.

4. Click OK to apply the change to the current session, or click Save as Defaults and then click OK to apply it to all sessions.

Sun WorkShop detects when you load a Fortran module; it switches the setting automatically to case insensitive (with the exception that MAIN()must always be uppercase). However, if during a session you change the default from the Debugging Options dialog box, Sun WorkShop does not override that setting when loading a Fortran module. Also, if the Fortran program was compiled using the -u option (case sensitive), the default becomes case sensitive.


Note - This option is equivalent to the dbx input_case_sensitive Environment Variable.