Repeat

[This is preliminary documentation and subject to change.] 

To repeat an event at a regular interval, use the keyword, repeat. This keyword indicates that the event in which repeat appears should be repeated at the interval indicated or the number of times specified. If a viewer tunes in late to a program, the files necessary to display the enhancements may not be available. For this reason, it is important to repeat the transmission of files as frequently as possible.

Applies To

All events.

Syntax

repeat interval until endtime ;

Examples

In the following example, the statement causes the file "Segment2.htm" to begin transmission thirty seconds into the program and be retransmitted every minute until the end of the show, as defined by the built-in variable ShowLength:

00:00:30:00 "Segment2.htm" repeat 60 until ShowLength;


This construct also works with the before keyword. For example, the following statement transmits "Segment5.htm" and its dependencies by 5:20 in the program, and repeats the transmission of the file and its dependencies once a minute until the end of the program:

before 00:05:20:00 "Segment5.htm" repeat 60 until ShowLength;

The repeat...until construct also works with trigger statements, and may appear in the same statement with or without a timeout override.