4.51.2.4.26. ogGetDataState() | Table of Contents | 4.51.2.4.28. ogGetMaxX() |
function ogGetLastError:ogErrorCode;Remarks:
All non-critical functions in ObjGfx (e.g. ogSetPixel(), ogLine(), ogCopy(), et al), are designed to "fail quietly", which means that if an operation isn't possible it won't occur. All critical functions (e.g. ogCreate(), ogAlias(), ogClone()) will return TRUE/FALSE depending on whether they were successful. In the event a critical function failed and appropiate error checking did not occur (i.e. bail out on error) then all future operations should resolve without a crash.
ogGetLastError will return an error related to what specifically failed inside a critical function.
Return value:Returns a member of ogErrorCode or ogOk if no error.
See also:4.51.2.4.26. ogGetDataState() | Table of Contents | 4.51.2.4.28. ogGetMaxX() |