edmiGetLowerIndex

edmiGetLowerIndex

EdmiError edmiGetLowerIndex(SdaiArray array, SdaiInteger *lowerIndex);

Returns the lower index of an ARRAY instance. See paragraph 15.17 in ISO 10303-11:1994(E) : The EXPRESS Language Reference Manual. The model that holds the actual ARRAY aggregate 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

lowerIndex

An integer number is returned which specifies the lower index of the specified ARRAY aggregate.

Return Value


Options


 

Example


 

 SdaiArray array; SdaiInteger lowerIndex; EdmiError rstat; . . . if (rstat = edmiGetLowerIndex(array, &lowerIndex)) { /* Error in operation */ printf("\nError: %s in edmiGetLowerIndex\n", edmiGetErrorText(rstat)); goto error; } /* print lower index of array */ printf("\nLower index of array: %lu is %ld",array,lowerIndex); . . .

 

See also