User Tools

Site Tools


testlen_length_of_the_static_step_portion_.htm
Navigation:  ABC Library Reference > StepStringClass > StepStringClass Properties >====== TestLen (length of the static step portion) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page
TestLen BYTE, PROTECTED

blk2blue.jpg

The TestLen property contains the length of the Root property. For example, if the step bounds are 'abbey' and 'abracadabra' then Root contains 'ab'. The related property TestLen is equal to the length of Root, that is, 2.

The Init method sets the value of the TestLen property.

Implementation:

The GetPercentile and GetValue methods use the Root and TestLen properties to efficiently traverse the defined steps.

The value of the TestLen property depends on the value of the LookupMode property. LookupMode of U.S. surnames uses TestLen of 3, English alphabet uses TestLen of 2, and runtime data distribution uses TestLen of 4.

See Also:     Init, LookupMode, Root

testlen_length_of_the_static_step_portion_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1