Initializing help system before first use

clsarrsrtndx

clsarrsrtndx


Purpose
Release the sorted index table of a hashmap array.
Synopsis
void clsarrsrtndx(XPRMcontext ctx, XPRMarray array);
Arguments
ctx 
Mosel's execution context
array 
Reference to a hashmap array
Return value
1 if the index table was removed, 0 if no operation was performed and -1 if the array is not a hashmap array.
Further information
To enumerate cells of a hashmap array a sorted table of the indices of the array is created. This function can be used to release this table. Note that this table is automatically deleted when the structure of the array changes ( i.e. a cell is added or removed).