The functions return the maximum of a racing datum in the past records.
Syntax
HrMaximum('eValueExpr',nRaces,'fCondition',eDefaultValue,cIncluding)
JrMaximum('eValueExpr',nRaces,'fCondition',eDefaultValue,cIncluding)
SrMaximum('eValueExpr',nRaces,'fCondition',eDefaultValue,cIncluding)
Argument |
Description |
Example |
||||||||
'eValueExpr' |
|
'HrDvdWin( )' |
||||||||
nRaces |
|
6 |
||||||||
'fCondition' |
|
'For HrFP( )=1 While HrDate( )>Date(1999,9,1)' |
||||||||
eDefaultValue |
Default value returned when no race satisfying the specified condition can be found. The data type of this value must be identical to that of normal return value. |
|||||||||
cIncluding |
When applying the function to past records, by default, races in the underlying meeting are not included. You may use this argument to change the scope. See the following page for details: The cIncluding Argument. |
'R' |
Returns
Data type identical to the expression passed into the first argument.
Examples
HrMaximum('HrWeight( )',3)
The above example returns the maximum loading of the horse in last 3 starts.
HrMaximum('HrWeight( )',4,'For HrDistance( )=1400')
The above example returns the maximum loading of the horse in last 4 1400m races.
HrMaximum('HrWeight( )',,'For HrDistance( )=1400 and HrAveRating( )>100',101)
The above example returns the maximum loading of the horse in all races meeting the following conditions:
1. | 1400m race |
2. | Average rating of the race is greater than 100 |
If no races satisfying the above conditions can be found 101 will be returned.
Page url: http://www.racematenet.com/english/help/index.html?hrmaximum.htm