up Inquisit Language Reference

format attribute

The format attribute determines how time is displayed on a clock.

Member of

<clock>

Syntax

/ format = clockformat

Parameters

Name Type Description
clockformat string A C-style format string (e.g., "hh:mm:ss") specifying how the time should be displayed. See Formatting Strings for Clock Time Display for more information.

Remarks

The format attribute takes an expression string that controls how hours, minutes, and seconds are displayed on the screen.

Examples

The following clock displays a timer counting down hours, minutes, and seconds:

<clock timer>
/ mode = timer
/ txColor = yellow
/ txBGColor = black
/ timeout = 300000
/ position = (50%, 10%)
/ format = "hh:mm:ss"
</clock>

Copyright Millisecond Software, LLC. All rights reserved.