Chroma:getLastError

From GiderosMobile
Revision as of 14:26, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")


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.