FirstIndexOfGroup

Declaration: TMetaData.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 directly access the metadata of the currently loaded dataset you can use the pre-declared global variable MData.