The functions provide you with a link for double-clicking to
1. | open the "Racing to Win" videos |
2. | open the Race Data form if [Alt] key is held down simultaneously |
Syntax
HrPreRace(vRetVal,nBackRaces,'fCondition',vDefaultVal)
JrPreRace(vRetVal,nBackRaces,'fCondition',vDefaultVal)
SrPreRace(vRetVal,nBackRaces,'fCondition',vDefaultVal)
Argument
vRetVal
1. | If you omit this argument, a character string of 10 characters showing the race date. |
2. | If you pass a value into vRetVal, it will be the return value (can be any type) of the functions. |
3. | If you pass .Null. into vRetVal, the link (79 characters) for opening the video will be returned. Links to local files will be skipped. |
Returns
Default to string, e.g., "15/02/2009" for 15/02/2009. If you pass a value to vRetVal, please see the description for vRetVal above.
Example
The following function will return the racing date. If you double-click on the date, the corresponding "Racing To Win" video will be played.
HrPreRace()
The following function will give the racing date. It will display "Racing" on screen. If you double-click on the text, the corresponding "Racing To Win" video will be played.
HrPreRace("Racing")
The following function will return the link for getting access to the web resource (something similar to "mms://wm.hkjc.pbase.net/extra1/prerace/20080227/eng_prerace_20080227_04_500.asf").
HrPreRace(.Null.)
See Also
HrBTrial( ), HrBTVideo( ), HrPostRace( ), HrPosPhoto( ), HrRaceReplay( ), HrRacingFocus( )
Page url: http://www.racematenet.com/english/help/index.html?hrprerace.htm