- Name
-
sdl.GetError -- get last error
- Synopsis
-
e$ = sdl.GetError()
- Function
-
Returns a message with information about the specific error that occurred, or an empty string if there hasn't
been an error message set since the last call to sdl.ClearError(). The message is only applicable when
an SDL function has signaled an error. You must check the return values of SDL function calls to determine when
to appropriately call
sdl.GetError()
.
- Inputs
-
none
- Results
-
- e$
- last error message or empty string
Show TOC