TSET

From STX Wiki
< Programmer Guide‎ | Command Reference
Revision as of 12:17, 13 June 2019 by Jw (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
var := TSET

Start or restart the STx timer. The TSET command will return a string of the format yyyy.mm.dd hh.mm.ss, indicating the start date and time of the timer, e.g. 1969.07.21 03.56.00.

Once the timer has started, you may query the number of elapsed seconds by using the STx command TGET.

The STx timer is implemented via the standard operating system time functions. The timer gets incremented every second. For more accurate timers, or if you need to use more than one timer at a time, use an STx value item.

See also

TIME

Navigation menu

Personal tools