L’interface de VDS Renaissance est disponible en plusieurs langues. La documentation officielle est maintenue en anglais afin de garantir une référence unique, cohérente et toujours à jour.

@TIMER

Windows Linux macOS

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:

0

stopped

1

running

2

paused

[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