The above functions are similar to functions HrMaxStartID( ), JrMaxStartID( ), and SrMaxStartID( ) except:
1. | If the number of races meeting 'fCondition' is smaller than nRaces, the function will return .NULL. |
2. | Although the functions accept 5 arguments, the 4th argument of HrXMaxStartID( ), JrXMaxStartID( ), SrXMaxStartID( ) will always be ignored. |
Syntax
HrXMaxStartID('eValueExpr',nRaces,'fCondition',cDefaultValue,cIncluding)
JrXMaxStartID('eValueExpr',nRaces,'fCondition',cDefaultValue,cIncluding)
SrXMaxStartID('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
Page url: http://www.racematenet.com/english/help/index.html?hrxmaxstartid.htm