Previous Table of Contents Next


18.3.2 Mapping for Constants


   The mapping of the Microsoft IDL keyword const to OMG IDL const is almost exactly the same. The following Microsoft IDL definitions for constants:

   // Microsoft IDLconst short S = ...;const long L = ...;const unsigned short US = ...;const unsigned long UL = ...;const float F = ...;const double D = ...;const char C = ...;const boolean B = ...;const string STR = “...?;

   map to the following OMG IDL definitions for constants.

   // OMG IDLconst short S = ...;const long L = ...;const unsigned short US = ...;const unsigned long UL = ...;const float F = ...;const double D = ...;const char C = ...;const boolean B = ...;const string STR = “...?;