|
By patvdv at 26 Feb 2008 - 21:57
|
|
dal.set.error.message()
Syntax
void dal.set.error.message(string mess.or.code [, arg ...])
Description
Use this to set an error message to be displayed by the 4GL engine or by external applications when a DAL hook returns a negative value.
The message is added to a message buffer.
Arguments
|
mess.or.code
|
Specifies either the data dictionary code for the message or a literal string. In the latter case, the value of mess.or.code must start with the at sign [@]. Note that using a literal string makes the script language dependent.
|
|
arg ...
|
The literal string or message specified with mess.or.code can contain format characters for parameter substitution. The values which must be substituted are specified in the 2nd, 3rd, ... arguments of the function. The number of these arguments is variable. For details about formatting a string see the sprintf().
|
Context
DAL function.
Related topics
|