Titan



read


The keyword is used to to retrieve the time that has elapsed since the specified timer was started. The returned value is of type float.

Related keywords:


timer_identifier.read;


It is possible to read a member of a timer array.


  timer_identifier[array_index].read;


Example 1:

var float vl_flottant := T_porslin.read;

The local variable vl_flottant is defined and used to store the time elapsed since the start of the global timer T_porslin.


Example 2:

var float v_ile := Tl_Rochereau[7].read;

The variable v_ile is defined and used to store the time elapsed since the start of the eighth timer of the array T_Rochereau.



BNF definition of read