C/370 is case insensitive, and just generally rots!

Steve Harrold swh at hpcupt1.HP.COM
Thu Dec 14 05:55:17 AEST 1989


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???



More information about the Comp.lang.c mailing list