Navigation:  MCL Reference > Multimedia & Internet Functions >

HrBTVideo( ), JrBTVideo( ), SrBTVideo( )

Print this Topic Previous pageReturn to chapter overviewNext page

The functions provide you with a link for double-clicking to

1.open the Jockey Club barrier trial videos
2.open the barrier trail form if [Alt] key is held down simultaneously

 

 

Syntax

HrBTVideo(nBackBarrierTrials,vRetVal,nBackRaces,'fCondition',vDefaultVal)

JrBTVideo(nBackBarrierTrials,vRetVal,nBackRaces,'fCondition',vDefaultVal)

SrBTVideo(nBackBarrierTrials,vRetVal,nBackRaces,'fCondition',vDefaultVal)

 

Argument

nBackBarrierTrials

Pass a number to the first argument to get the date and group of the nBackBarrierTrials (0 or 1 for first, 2 for second, etc) barrier trials before the underlying race.

vRetVal

1.If you omit this argument, a character string of 14 characters showing the date and group of the trial will be returned.
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 (75 characters) for opening the video will be returned. Links to local files will be skipped.

 

Returns

Default to string, e.g., "17/02/2009(5) " for 17/02/2009 group 5. If you pass a value to vRetVal, please see the description for vRetVal above.

 

Example

The following functions will return the latest barrier trial date and group. If you double-click on the date, the barrier trial video will be played.

HrBTVideo()

HrBTVideo(1)

 

The following function will give the date and group before the last trial before the underlying race. That is 2nd last trial. This trial may or may not be before the 2nd last race. If you double-click on the date, the barrier trial video will be played.

HrBTVideo(2)

 

The following function will give the date and group of the trial before the 2nd last race. If you double-click on the date, the barrier trial video will be played.

HrBTVideo(1,,1)

 

The following function will give the latest barrier trial date and group. It will display "Latest BT" on screen. If you double-click on the text, the barrier trial video will be played.

HrBTVideo(,"Latest BT")

 

The following function will return the link for getting access to the web resource (something similar to "mms://wm.hkjc.pbase.net/extra1/barrier/20080227/eng_20080227_brts04_500.asf").

HrBTVideo(,.Null.)

 

See Also

HrBTrial( ), HrPostRace( ), HrPreRace( ), HrPosPhoto( ), HrRaceReplay( ), HrRacingFocus( )

 

 


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