timer_value

Declaration

timer_value (name: STRING)

Description

Returns, in seconds, the amount of time elapsed since the timer was started. Unlike timer_elapsed, this function returns the same value regardless of whether the timer is ascending or descending.

See Also

timer_elapsed
timer functions
Timer_Manager

Example

script finish_test is
  total_time := timer_value ('test')
    -- store the amount of time the user took
  delete_timer ('test')
end