Difference between revisions of "Chroma:getLastError"

From GiderosMobile
m (Anthony moved page Chroma.getLastError to Chroma:getLastError without leaving a redirect)
Line 6: Line 6:
 
<translate>Returns the last error number, zero if none.  Then resets the number to zero.</translate>
 
<translate>Returns the last error number, zero if none.  Then resets the number to zero.</translate>
 
<source lang="lua">
 
<source lang="lua">
(number) = chroma.getLastError()
+
(number) = Chroma:getLastError()
 
</source>
 
</source>
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===

Revision as of 14:20, 27 June 2020


Available since: Gideros 2020.6
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.