Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>ret_error()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
RET_ERROR()
   Returns the Flipper error code.

   Syntax
         nErrorCode = RET_ERROR()

   Arguments
         None

   Returns
         nErrorCode  Returns the Flipper error code. 0 if no error.

   Description
         RET_ERROR() returns the Flipper error code number for the last error.
         It will return a 0 if no error has occurred. The error code is
         returned to 0 after the call is made. See the error code table for a
         description of error codes.
         +----------------------------------------------------------------+
         |Error Type Codes                                                |
         -----------------------------------------------------------------|
         |Code|Error Description         |Code|Error Description          |
         |----+--------------------------+----+---------------------------|
         |1   |Video not configured      |22  |Bad FPIC handle            |
         |2   |No heap space             |23  |Bad FPIC index             |
         |3   |Wrong number of parameters|24  |Error opening printer table|
         |4   |Wrong parameter data type |25  |Error writing to printer   |
         |5   |Bad argument              |26  |Invalid device ID          |
         |6   |Out of range              |27  |Printer open error         |
         |7   |No data to plot           |28  |Printer read error         |
         |8   |Out of buffer space       |29  |Printer write error        |
         |9   |String too large          |30  |Printer find error         |
         |10  |No disk space             |31  |Printer bad value          |
         |11  |Paint overflow            |32  |Printer memory error       |
         |12  |Out of view               |33  |Bad Esc sequence value     |
         |13  |Bad view handle           |34  |Bad object layer           |
         |14  |No such file name         |35  |Menu stack empty           |
         |15  |Font in use               |36  |Menu stack full            |
         |16  |File open error           |37  |Menu stack awake           |
         |17  |Serial port not configured|38  |No background initialized  |
         |18  |Bad font handle           |39  |No configuration           |
         |19  |Divide by 0               |40  |Distance too small         |
         |20  |Not a Flipper PIC type    |41  |No virtual memory blocks   |
         |21  |Wrong PIC file type       |    |                           |
         +----------------------------------------------------------------+

See Also: RET_ERRFUN() SET_SAYERR()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson