Difference between revisions of "Chroma:getLastError"
From GiderosMobile
(3 intermediate revisions by 2 users not shown) | |||
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"> |
(number) = Chroma:getLastError() | (number) = Chroma:getLastError() | ||
− | </ | + | </syntaxhighlight> |
− | === | + | |
+ | === Parameters === | ||
− | === | + | === Return values === |
− | ''' | + | '''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