hb_langErrMsg()

HB_LANGERRMSG()

Description of an error code using current language

Syntax

      HB_LANGERRMSG( <nErrorCode> ) --> cErrorMessage

Arguments

<nErrorCode> is one of the generic error codes (EG_…) defined in include/error.ch

Returns

HB_LANGERRMSG() return the error message string represented by the code <nErrorCode>.

Description

This function return the error message associated with an error code using the current language selected.

Examples

      #include "error.ch"
      REQUEST HB_LANG_ES
      PROCEDURE Main()
         // English: Argument error
         ? "English:", HB_LANGERRMSG( EG_ARG )
          "ES" )
         // Spanish: Error de argumento
         ? "Spanish:", HB_LANGERRMSG( EG_ARG )
         RETURN

Compliance

Harbour

Platforms

All

Files

Library are rtl, lang Header is error.ch

Seealso

HB_LANGSELECT(), NATIONMSG()

Advertisements

3 responses to “hb_langErrMsg()

  1. Pingback: Harbour All Functions – H | Viva Clipper !

  2. Pingback: Harbour Language and Nation Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s