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:



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:




Page url: