IDL allows you to specify constant data values using one of several basic data
types. To declare a constant, use the IDL keyword const.
module Finance {
interface Bank {
const long MaxAccounts = 10000;
const float Factor = (10.0 6.5) * 3.91;
...
};
};
The value of an IDL constant cannot change. You can define a constant at any level of scope in your IDL specification.