Difference between revisions of "Timer:getRepeatCount"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Class:''' [[Timer]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Timer|Timer]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<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.
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 /></translate>
 
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(number) = Timer:getRepeatCount()
 
(number) = Timer:getRepeatCount()
 
</syntaxhighlight>
 
</syntaxhighlight>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (number) <translate>The number of repetitions.</translate><br/>
+
=== Return values ===
 +
'''Returns''' (number) the number of repetitions<br/>
  
 
{{Timer}}
 
{{Timer}}

Latest revision as of 23: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