...
Code Block | ||||
---|---|---|---|---|
| ||||
EdmiError edmiGetUpperIndex(SdaiArray array,
SdaiInteger *upperIndex);
|
Returns the declared upper index of an ARRAY. See paragraph 15.11 in ISO 10303-11:1994(E) : The EXPRESS Language Reference Manual.
...
The model that holds the actual ARRAY must be open before this operation can be successfully performed.
...
Arguments
...
Type | Name | Comment | |
SdaiArray | array | A numeric arrayID that uniquely identifies the ARRAY aggregate instance of interest in the EDMdatabase. | The arrayID is returned when the ARRAY is created or it can be retrieved with an EDMinterface get operation. |
SdaiInteger | upperIndex | Address of an SdaiInteger variable that receives the declared upper index of the specified <array> |
...
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
SdaiArray array; EdmiError rstat; SdaiInteger upperIndex; . . . if (rstat = edmiGetUpperIndex (array, &upperIndex)) { /* Error in operation */ printf("\nError: %s in edmiGetUpperIndex \n", |
...
edmiGetErrorText(rstat)); |
...
goto error; |
...
} printf ("\nArray: %lu upperIndex: %ld", array, upperIndex); |
...
... |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|