sdaiGetLowerIndex


Returns the lower index of an ARRAY. See paragraph 15.17 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.
Header:
#include "sdai.h"
Prototype:
SdaiInteger sdaiGetLowerIndex(SdaiArray array);
Arguments:

array

A numeric aggregateID that uniquely identifies the array of interest in the EDMdatabase.
The aggregateID is returned when the aggregate is created or it can be retrieved by an _EDMinterface_ get operation.

Returns:
Lower index of the actual array.
Use sdaiErrorQuery to check for errors during operation.
Example:
SdaiInteger lowerIndex;
SdaiAggr arrayId;
SdaiErrorCode errCode;
...
lowerIndex = sdaiGetLowerIndex (arrayId);
if (errCode = sdaiErrorQuery()) {
/* Error in operation */ 
printf("\nError: %s in sdaiGetLowerIndex \n", 
edmiGetErrorText(errCode)); 
goto error; 
}
. . .