RemoveSpdcList

Declaration: TSpdcSet.RemoveSpdcList (IxList: array of integer);
The method RemoveSpdcList deletes all spectral descriptors listed in the open array IxList. The IxList array has to contain the indices of the descriptors to be deleted (use the method FindSpdc to obtain the index of a descriptor from its name). The function returns the following error codes:
 0 ... everything is OK
-1 ... IxList contains invalid indices
-2 ... descriptor set is empty

Hint: In order to directly access the currently loaded spectral descriptors (those which are displayed in the Spectral Descriptor Editor) you can use the pre-declared global variable SPDCData.