The functions return ID of the start at which the minimum of a racing datum is found.
Syntax
HrMinStartID('eValueExpr',nRaces,'fCondition',cDefaultValue,cIncluding)
JrMinStartID('eValueExpr',nRaces,'fCondition',cDefaultValue,cIncluding)
SrMinStartID('eValueExpr',nRaces,'fCondition',cDefaultValue,cIncluding)
Argument |
Description |
Example |
||||||||
'eValueExpr' |
|
'HrDvdWin( )' |
||||||||
nRaces |
|
6 |
||||||||
'fCondition' |
|
'For HrFP( )=1 While HrDate( )>Date(1999,9,1)' |
||||||||
cDefaultValue |
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
Character (Width=8)
Examples
HrMinStartID('HrWeight( )',3)
The above example returns the ID of the start, among the last 3, at which the loading is a minimum.
HrMinStartID('HrWeight( )',4,'For HrDistance( )=1400')
The above example returns the ID of the start, among the last 4 1400m races, at which the loading of the horse is a minimum.
HrMinStartID('HrWeight( )',,'For HrDistance( )=1400 and HrAveRating( )>100',101)
The above example returns ID of the start, among the races satisfying the following conditions, at which the loading of the horse is a minimum:
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?hrminstartid.htm