Why can't I use '_' or a number as an identifier in IDL?
According to IDL specifications (I have used here CORBA V.2.2 specs), an identifier (for example the name of a method or of an attribute) cannot start with a number or underscore or non-alphabetic characters: Section 3.23 IdentifiersAn tidentifier is an arbitrary long sequence of alphabetic,digit, and underscore ("_") characters. The first character must be an alphabetic character. According to this definition, both I have verified that:
but they are both illegal from the specs' point of view. |
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|