Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telepathy Communications Library - <b>tp_error()</b> - error code from last operation http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   tp_error() - error code from last operation

   nError := tp_error()

   Returns     Error code.

   Returns the error code from the last operation performed.  This code
   is a numeric value that identifies the error.  If there was no error,
   the value returned is zero.  All possible error codes are listed in
   the Error Codes section.

   Example:

       cLine := tp_recvln(1)           // Read a line of input.
       if tp_error() <> 0              // Error during input?
           return                      // Yes - cancel operation.
       endif

See Also: tp_errcodes() tp_errmsg() Error Codes

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