|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....|
|Home BasePack DStruct Class TFeatureMatrix Methods Fill|
|See also: Clear|
The function Fill fills the values of the feature fix of all objects of the matrix with the value defined by the parameter FeatVal. The parameter fix may assume values between 1 and NFeatures. There are four overloaded versions of the Fill function which have to be used in accordance to the type of the feature. Using the wrong function results in an exception.
For example, trying to fill a feature defined as an integer feature using the overloaded version for a double precision value (version ) will result in an exception. The situation is slightly different if your use version  passing string values: you can pass numeric values and tri-state values as strings as long as the string in FeatVal complies to the rules of the corresponding feature type. Valid tri-state values are 'true', 'false' and '' (empty string).