The functions return sum, maximum, minimum, and count of a racing datum in the past records. The 2 figures are returned in a single string separated with a ','. For example, a returned value "1324,16,8,11" means that 1324 is got by summing up 11 races and the maximum and minimum value in these 11 races are 16 and 8 respectively.
Using these functions, you can get sum, maximum, minimum, count, and average (sum/count) by only scanning the database once. It is much faster than applying HrSum( ), HrMaximum, HrMinimum, HrCount( ), and HrAverage( ) in
separate columns.
Use the ListVal( ) function to retrieve a specific item in the list.
Syntax
HrStatList('nValueExpr',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?hrstatlist.htm