getlastsetndx
getlastsetndx |
Purpose
Synopsis
int getlastsetndx(XPRMset set);
Argument
set
|
Reference to a set
|
Return value
Index of the last element in the set.
Further information
1. 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.
2. It is recommended to test whether the set is not empty (using function
getsetsize) before calling this function.
Related topics