Returns
the text for the error code. This function should not be used anymore
but remains included for reasons of compatibility. Instead of this function,
use the functions getCatStr()
or getErrorText().
These functions allow the definition of own error messages dependent on
specific error codes. The error codes are saved in the file _errors.cat
in the directory < |
Synopsis
string errorText (unsigned code [, unsigned langIdx]); |
Parameters
Parameter |
Meaning |
code |
Error code |
langIdx |
Language (the default is the index of the current language) |
Return value
Returns the error text as a string. In the event of an error, returns an empty string. |
Error
Possible
error texts are contained in the directory < |
Description
Returns the text for the error code code in the appropriate languagelangIdx. The langIdx can be determined with getLangIdx(). |
Example |
Returns the error 1 in the current language. |
main()
|
Assignment
Error |
Availability
UI, CTRL, DP |
See also
getLangIdx(), getGlobalLangId(), getCatStr(), makeError(), Error handling, getErrorText() |
V 3.11 SP1
Copyright