Navigation:  MCL Reference > Statistics in a Race >

RunnersList( )

Print this Topic Previous pageReturn to chapter overviewNext page

The function returns a string composed of a list of items got by concatenating the values of an MCL expression evaluated against the horses in a race.

 

Syntax

RunnerList('nValueExpr',cRaceID,'fCondition',cSeparator)

 

Argument

Description

Example

'eValueExpr'

Datum the value list of which is to be found.
Data type of expression: Any

'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

Character

 

Example

RunnersList('HrHorse( )',HrRaceID(1),'HrFP( )<=2')

Returns the names of the winner and the runner-up of a race.

 

RunnersList('HrRating( )',17222,'For HrFP( )<=3','-')

Returns a string showing the ratings of the 3 fastest horses in the race of ID 17222. Use "-" as separator. The returned string will be similar to "71-80-77".

 

 


Page url: http://www.racematenet.com/english/help/index.html?runnerslist.htm