Lingo Dictionary > T-Z > ticks

 

ticks

Syntax

the ticks

Description

System property; returns the current time in ticks (1 tick = 1/60 of a second). Counting ticks begins from the time the computer is started.

Example

This statement converts ticks to seconds and minutes by dividing the number of ticks by 60 twice and then sets the variable minutesOn to the result:

currentSeconds = the ticks/60
currentMinutes = currentSeconds/60

See also

time(), timer, milliseconds