Name

GetErrorMessage                                                                                

Purpose

Gets the error message for the specified returncode in the current language

Params

Parameter

Type

Example

Note

ErrorCode

Integer

2

ErrorCode, see list of return codes

Returncode

Returncode

Type String

Note

Empty

Specified ErrorCode is not valid (see list of return codes)

Message

The message in the set language

Usage

E.g. show an error in your dialog schema.

Sample

 

  sMsg := lic.GetErrorMessage(2);

  << use the extracted message >>

  ...

See also

SetLanguage, LastReturncode. It is possible to use this command before a license file has been opened.