OpenTP1 Version 7 Programming Reference C Language

[Contents][Index][Back][Next]

Array

Format

An IDL array is declared through the syntax of the array_declarator structure given below.

array_identifier  array_bounds_declarator...

Explanations of the type declarators

The following array type can be used:

array_bounds_declarator

Specify each array dimension. The array_bounds_declarator for one-dimensional array must be in either of the following formats:

[lower..upper]: Specify a lower limit for lower and an upper limit for upper.

[size]: Specify 0 for a lower limit and size-1 for an upper limit.

In the IDL, the normal value for lower is 0 only.