AddQuantity

Declaration: TIlabTrnDataSet.AddQuantity (QuantName: string): integer;
The function AddQuantity adds a quantity to the list of defined quantities. The name of the new quantity is specified by the parameter QuantName. The function returns the index of the new quantity, or zero if the number of supported classes is exceeded (currently a maximum of 10 quantities can be defined).