Chroma:getLastError: Difference between revisions
From GiderosMobile
m Text replacement - "</source>" to "</syntaxhighlight>" |
No edit summary |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2020.7<br/> | |||
''' | '''Class:''' [[chroma]]<br/> | ||
''' | |||
=== | === Description === | ||
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> | ||
=== | === Parameters === | ||
''' | |||
=== Return values === | |||
'''Returns''' (number) the last error number or zero<br/> | |||
{{Chroma}} | {{Chroma}} | ||
Latest revision as of 20: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