Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>show a dos error message</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Show a DOS error message
------------------------------------------------------------------------------

 Syntax

        GT_ErNam( <nError> ) --> <cErrorMess>

 Arguments:

      <nError>      A valid DOS error number. Could be the value
                    returned by FERROR()

 Returns:

      <cErrorMess>  The description of the error message.
                    Default "".

 Description:

      Function used to return a text description of a DOS error number up
      to dos error number 88.

 Examples:

      local nErr
      Fopen("exist.not")
      if ( nErr := ferror() ) > 0
          ? GT_ErNam(nErr) --> "File not found"
      endif

 Source: GT_ERNAM.PRG

 Author:  Phillip Hamlyn

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