[comp.lang.c] C/370 is case insensitive

swh@hpcupt1.hp.com@canremote.uucp (swh@hpcupt1.HP.COM) (12/21/89)

From: swh@hpcupt1.HP.COM (Steve Harrold)
Subj: C/370 is case insensitive, and just generally rots!
Orga: Hewlett Packard, Cupertino

Re: C/370 case sensitivity?

I cannot speak from actual experience, since I don't have access to
IBM's C/370, but are you sure when you say that the compiler does not
respect case?  In what sense is case ignored?

To quote from "IBM Systems Application Architecture: Common
Programming Interface: C Reference", p/n SC26-4353-0, page 33:

"For identifiers that represent internal data objects, IBM C
compilers view uppercase and lowercase letters as different symbols. 
Thus 'PROFIT' and 'profit' represent different internal data objects.

"For identifiers that represent external data objects, uppercase and
lowercase letters may be viewed as equivalent symbols.  IBM compilers
will recognize a minumum of 7 significant characters for external
identifiers. Thus on some compilers, 'STOCKONHAND' and 'stockonorder'
will represent the same external data object because the 7
significant characters of both identifiers are identical and the case
is ignored."

These two paraprahs are merely being explicit about the ANSI standard.

What ARE the sprecifics of your complaint about the C/370 compiler???

---
 * Via MaSNet/HST96/HST144/V32 - UN C Language
 * Via Usenet Newsgroup comp.lang.c