ticks | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Synonyms | tick | ||||||
Summary | |||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: ticks, integer Property: idleTicks Command: wait Function: time, milliseconds, date, ticks Control Structure: function Glossary: precision, eon, return, event | ||||||
Description | Use the ticks function to time events that must be checked more often than once per second. Unlike HyperTalk's "ticks" function, the ticks function returns the total number of ticks since midnight GMT, January 1, 1970, rather than the total number of ticks since the last system startup. A tick is one-sixtieth of a second. If you don't need to time events with this much precision, use the seconds function. If you need to time events with greater precision, use the milliseconds function. | ||||||
Tags | math |