The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_dstruct
Class: TFeatureMatrix
Declaration: property FeatValAsTriState[fix, obj: integer]: TTriState;

The property FeatValAsTriState provides access to the cell [fix,obj] of the feature matrix, given that the referenced cell is of type TTriState. The parameter fix may assume values between 1 and NFeatures, the parameter obj may assume values between 1 and NObjects. Parameter values outside the valid range will be ignored when writing to the cell (resulting in no action at all), or a tsUndefined value will be returned when reading the FeatValAsTriState property.

Accessing cells within the valid range might generate an exception if the accessed cell is of a type other than TTriState:

Data Type Read Write
fkUndefined exception exception
fkInteger exception exception
fkDouble exception exception
fkString exception if the cell does not contain a tri-state value as a string
(allowed values: 'true', 'false', '' (empty string))
fkTriState OK OK

Last Update: 2017-Apr-18