Difference between revisions of "Chroma:getLastError"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2020.7<br/>
'''<translate>Available since</translate>:''' Gideros 2020.7<br/>
+
'''Class:''' [[chroma]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/chroma|chroma]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Returns the last error number, zero if none.  Then resets the number to zero.</translate>
+
Returns the last error number, zero if none.  Then resets the number to zero.
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(number) = Chroma:getLastError()
 
(number) = Chroma:getLastError()
 
</syntaxhighlight>
 
</syntaxhighlight>
=== <translate>Parameters</translate> ===
 
  
=== <translate>Return values</translate> ===
+
=== Parameters ===
'''<translate>Returns</translate>''' (number) <translate>The last error number or zero.</translate><br/>
+
 
 +
=== Return values ===
 +
'''Returns''' (number) the last error number or zero<br/>
  
 
{{Chroma}}
 
{{Chroma}}

Latest revision as of 21:53, 6 November 2024

Available since: Gideros 2020.7
Class: chroma

Description

Returns the last error number, zero if none. Then resets the number to zero.

(number) = Chroma:getLastError()

Parameters

Return values

Returns (number) the last error number or zero