AddClass

Declaration: TIlabTrnDataSet.AddClass (ClassName, UniqueClassID: string): integer;
The function AddClass adds a new class to the list of defined classes. The name of the new class is specified by the parameter ClassName, its unique class ID is specified by the parameter UniqueClassID. The function returns the index of the new class, or zero if the number of supported classes is exceeded (currently a maximum of 25 classes can be defined).


Last Update: 2020-Jan-04