Difference between revisions of "Chroma:getLastError"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
Line 5: | Line 5: | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
<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> | ||
− | < | + | <syntaxhighlight lang="lua"> |
(number) = Chroma:getLastError() | (number) = Chroma:getLastError() | ||
</source> | </source> |
Revision as of 14:26, 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. <syntaxhighlight lang="lua"> (number) = Chroma:getLastError() </source>
Parameters
Return values
Returns (number) The last error number or zero.