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()
Pingback: Harbour All Functions – H | Viva Clipper !
Pingback: Harbour Language and Nation Functions | Viva Clipper !
Pingback: Harbour RG Summary | Viva Clipper !