The RunnersMax( ) function returns the maximum value of a datum about a runner in a particular race.
Syntax
RunnersMax('nValueExpr',cRaceID,'fCondition')
Argument |
Description |
Example |
||||
'eValueExpr' |
|
'HrBodyweight( )' |
||||
cRaceID |
Race ID (default to underlying race). Normally, this is a string returned by the functions HrRaceID( ), JrRaceID( ) and SrRaceID( ). |
'17222' |
||||
'fCondition' |
Logical expression to filter out a particular set of runners in the race. |
'HrFP( )<=3' |
Returns
The type of the value returned by the function is identical to that of the first argument of the function.
Examples
RunnersMax('Bodyweight( )')
Returns the maximum Body Weight of the underlying race.
RunnersMax('Bodyweight( )','17222')
Returns the maximum Body Weight of the race of ID '17222', i.e., the 222nd race of season 97-98.
RunnersMax('Bodyweight( )',,'HrFP( )<=3')
Returns the maximum Body Weight amount the 3 fastest horses in the underlying race.
RunnersMax('Bodyweight( )','17222','HrFP( )<=3')
Returns the maximum Body Weight amount the 3 fastest horses of the race of ID '17222', i.e., the 222nd race of season 97-98.
Page url: http://www.racematenet.com/english/help/index.html?runnersmax.htm