TIME

From Smart Box
Revision as of 19:55, 6 October 2023 by Benryves (talk | contribs) (Created page with "== Syntax == TIME Hours:Minutes:Seconds:Centiseconds == Description == The TIME keyword can be used either to set the internal clock to a certain time or to read the current time. A time value begins with a colon. When setting the time include all values from the unit you are setting down to the centiseconds. For example, to set the clock to a value of 1 minute type :1:00:00 (1 minute, zero seconds, zero centiseconds) == Examples == Print the current time PRINT TI...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax[edit]

TIME Hours:Minutes:Seconds:Centiseconds

Description[edit]

The TIME keyword can be used either to set the internal clock to a certain time or to read the current time. A time value begins with a colon. When setting the time include all values from the unit you are setting down to the centiseconds. For example, to set the clock to a value of 1 minute type :1:00:00 (1 minute, zero seconds, zero centiseconds)

Examples[edit]

Print the current time

PRINT TIME

Set the time to 10 seconds

LET TIME = :10:0

Associated keywords[edit]