User Tools

Site Tools


getvalue_return_a_percentile_s_value_.htm
Navigation:  ABC Library Reference > StepStringClass > StepStringClass Methods >====== GetValue (return a percentile's value) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

GetValue( percentile ), VIRTUAL

blk2blue.jpg

GetValue Returns the specified percentile's value relative to the StepStringClass object's boundaries.
percentile An integer constant, variable, EQUATE, or expression that specifies the percentile for which to retrieve the value.

The GetValue method returns the specified percentile's value relative to the StepStringClass object's upper and lower boundaries. For example, if the bounds are 'A' and 'Z' then GetValue(50) returns 'M'.

Implementation:

The SetLimit method sets the StepStringClass object's upper and lower boundaries.

Return Data Type:     STRING

Example:

IF FIELD() = ?MyList                               !focus on browse list

 IF EVENT() = EVENT:ScrollDrag                     !if thumb moved

  Locator=MyStep.GetValue(?MyList{PROP:VScrollPos})!update locator to match

 END

END

See Also:     SetLimit

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