XPRMgetlastsetndx
XPRMgetlastsetndx |
Purpose
Synopsis
int XPRMgetlastsetndx(XPRMset set);
Argument
set
|
Reference to a set
|
Return value
Index of the last element in the set.
Further information
This function returns the index of the last element of a given set. In a range
set the highest value (upper range bound) is returned. In a set of strings the index of the last element always corresponds to the number of elements in the set. It is recommended to test whether the set is not empty (using function
XPRMgetsetsize) before calling this function.
Related topics