GetValue (return a percentile's value:StepRealClass)


Top  Previous  Next

 

GetValue( percentile ), VIRTUAL

GetValue

Returns the specified percentile's value relative to the StepRealClass 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 StepRealClass object's upper and lower boundaries. For example, if the bounds are 0 and 1000 then GetValue(25) returns '250'.

Implementation:

The SetLimit method sets the StepRealClass 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