C/370 is case insensitive
swh at hpcupt1.hp.com
swh at hpcupt1.hp.com
Thu Dec 21 16:03:00 AEST 1989
From: swh at 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
More information about the Comp.lang.c
mailing list