Difference between revisions of "Chroma:getLastError"

From GiderosMobile
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2020.7<br/>
'''<translate>Available since</translate>:''' Gideros 2020.6<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.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = Chroma:getLastError()
 
(number) = Chroma:getLastError()
</source>
+
</syntaxhighlight>
=== <translate>Parameters</translate> ===
+
 
 +
=== Parameters ===
  
=== <translate>Return values</translate> ===
+
=== Return values ===
'''<translate>Returns</translate>''' (number) <translate>The last error number or zero.</translate><br/>
+
'''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