Navigation:  MCL Reference > Arguments and Variables of MCL functions >

The DefaultVal Argument

Print this Topic Previous pageReturn to chapter overviewNext page

Many MCL functions accept a DefaultVal argument. If the target race cannot be found, the value passed to the DefaultVal argument will be returned. For example, the syntax of the HrBodyWeight( ) function is as follows:

HrBodyWeight(nBackRaces,'fCondition',nDefaultVal)

 

The following function call returns the body weight of the horse in its last start. If last start does not exist at all, 1050 pounds will be returned:

HrBodyWeight(1,,1050)

 

 


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