Difference between revisions of "Chroma:getLastError"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 7: | Line 7: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
(number) = Chroma:getLastError() | (number) = Chroma:getLastError() | ||
− | </ | + | </syntaxhighlight> |
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
Revision as of 14:27, 13 July 2023
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.