----- file created by makedoc on: Fri May 31 15:22:24 2013
----- Documentation for /scisoft/xop2.3/src_idl/util/sorpurge.pro -----

 NAME:
	SORPURGE
 PURPOSE:
	Similar to the SORT function, but ignores repeated values of elements.
 CATEGORY:
	Array Manipulation
 CALLING SEQUENCE:
	Result = SORPURGE ( ARR [, keywords])
 INPUTS:
    ARR
	The array to be sorted (scalar is also accepted).
 OPTIONAL INPUT PARAMETERS:
	None.
 KEYWORD PARAMETERS:
    NETLEN
	Optional output, see below.
 OUTPUTS:
	Returns a vector of indices that allow access to all DIFFERENT elements
	of ARR in ascending order.
 OPTIONAL OUTPUT PARAMETERS:
    NETLEN
	The name of a variable to receive the number of elements 
 COMMON BLOCKS:
	None.
 SIDE EFFECTS:
	None.
 RESTRICTIONS:
	None.
 PROCEDURE:
	Uses SORT to order the array, then finds all the elements that differ
	from their predecessors.
 MODIFICATION HISTORY:
	Created 15-AUG-1992 by Mati Meron.

