Observe the following rules when defining arrays in IDL:
· A structure can contain only one conformant array, which must be the last member in the structure.
· Conformant arrays are not valid in unions.
· A structure parameter containing a conformant array can be passed only by reference.
· Arrays that have the transmit_as attribute cannot be conformant or varying arrays.
· The structure member or parameter referenced in an array attribute cannot be defined to have either the represent_as or transmit_as attribute.
· Array bounds must be integers. Array attributes can reference only structure members or parameters of integer type.
· A parameter that is referenced by an array attribute on a conformant array must have the in attribute.
· Array elements cannot be context handles or pipes, or conformant arrays or conformant structures.