@TIMER |
|
| Top Previous Next | |
Syntax:
@TIMER(<n>,<flags>)
Description:
This function returns information about the timer <n>. The flags are:
I |
returns the initial value given as parameter for the specified timer. |
||||||
V |
returns the current value for the specified timer. |
||||||
S |
returns the state for the specified timer. There are 3 states:
|
[VDS5] Values are returned as a formatted string in the format d-hh:mm:ss, regardless of regional time separator settings.
[VDS6] Values are returned as floating-point values compatible with the @DATETIME function, which may be used to convert to a readable format.
OK:
Unchanged.
Example:
info Current value for timer 1 is: @datetime(hh:nn:ss,@timer(1,V))
See a more advanced example...
See also: