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...")
 
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 +
'''Class:''' [[Timer]]<br/>
 +
 
=== Description ===
 
=== Description ===
<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.
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 />
+
<syntaxhighlight lang="lua">
<br />
+
(number) = Timer:getRepeatCount()
<source lang="lua">
+
</syntaxhighlight>
(number), = Timer:getRepeatCount()
+
 
</source>
+
=== Return values ===
'''Returns''' (number) The number of repetitions.<br/>
+
'''Returns''' (number) the number of repetitions<br/>
 +
 
 +
{{Timer}}

Latest revision as of 22:40, 24 August 2024

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