edmiGetUpperIndex
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
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.
Options
Â
Example
Â
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
There are no items with the selected labels at this time.
Â