VDS Renaissance のインターフェースは複数の言語に対応しています。公式ドキュメントは、単一で一貫した常に最新のリファレンスを保証するため、英語で管理されています。

@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