END

This tutorial is specific to our newest product, Hudl Sportscode. If you’re on Sportscode v11, use these resources instead or upgrade today.

This command produces the latest end time (in seconds) of the labels or instances in the timeline. If the result is no instances, it will return -1.


FORMAT: END "label_name" or END instances


DEFINITIONS:

  • label_name: Quoted text specifying the label you wish to count in the front timeline or instances. (Can be grouped using OR, AND, NOT)
  • instances: Indicates that the script matches all the sequences without regards to the labels.

EXAMPLE 1:

show END instances

Returns the end time of the last instance, i.e. the latest overall end time of the timeline.

EXAMPLE 2:

$time = END "score" where row = "Beckham"
show $time

Obtains the latest end time of "score" label in the row "Beckham". The result is stored in the $time variable and then displayed using the SHOW command.