Difference between revisions of "Timer:getRepeatCount"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the number of repetitions the timer will make. A value of 0 means the timer runs infini...") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2011.6<br/> | + | <languages /> |
− | === Description === | + | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> |
− | <br /> | + | '''<translate>Class</translate>:''' [[Special:MyLanguage/Timer|Timer]]<br/> |
+ | === <translate>Description</translate> === | ||
+ | <translate><br /> | ||
Returns the number of repetitions the timer will make. A value of 0 means the timer runs infinitely. If nonzero, the timer runs the specified number of times and then stops.<br /> | Returns the number of repetitions the timer will make. A value of 0 means the timer runs infinitely. If nonzero, the timer runs the specified number of times and then stops.<br /> | ||
− | <br /> | + | <br /></translate> |
− | < | + | <syntaxhighlight lang="lua"> |
− | (number) | + | (number) = Timer:getRepeatCount() |
− | </ | + | </syntaxhighlight> |
− | '''Returns''' (number) The number of repetitions.<br/> | + | === <translate>Return values</translate> === |
+ | '''<translate>Returns</translate>''' (number) <translate>The number of repetitions.</translate><br/> | ||
+ | |||
+ | {{Timer}} |
Latest revision as of 15:33, 13 July 2023
Available since: Gideros 2011.6
Class: Timer
Description
Returns the number of repetitions the timer will make. A value of 0 means the timer runs infinitely. If nonzero, the timer runs the specified number of times and then stops.
(number) = Timer:getRepeatCount()
Return values
Returns (number) The number of repetitions.