The RunnersCnt( ) function returns the number of runners that meets a particular condition in a race.
Syntax
RunnersCnt('eValueExpr',cRaceID,'fCondition')
Argument |
Description |
Example |
||||
'lCountIf' |
|
'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 function returns a numeric value.
Examples
RunnersCnt( )
Returns the number of runners in the underlying race.
RunnersCnt('17222')
Returns number of runners in the race of ID '17222', i.e., the 222nd race of season 97-98.
RunnersCnt(,'HrRating( )>95')
Returns number of runners of rating greater than 95 in the underlying race.
RunnersCnt('17222','HrRating( )>95')
Returns number of runners of rating greater than 95 in the race of ID '17222'
i.e., the 222nd race of season 97-98.
Page url: http://www.racematenet.com/english/help/index.html?runnerscnt.htm