FirstIndexOfGroup

Declaration: TSpecCollection.FirstIndexOfGroup (grp: integer): integer;
Returns the first layer of the spectral group grp. If grp contains an invalid value the function returns a zero value.

Hint: In order to access the spectral collection currently loaded in the Spectral Collection Editor you can use the pre-declared global variable SCData.