Previous Table of Contents Next


3.20 Names and Scoping

   OMG IDL identifiers are case insensitive; that is, two identifiers that differ only in the case of their characters are considered redefinitions of one another. However, all references to a definition must use the same case as the defining occurrence. This allows natural mappings to case-sensitive languages. For example:

   module M { typedef long Long; // Error: Long clashes with keyword long typedef long TheThing; interface I {

   typedef long MyLong; myLong op1( // Error: inconsistent capitalization in TheThing thething; // Error: TheThing clashes with thething ); }; };