Configuration Command
Set the error string.
error STRING
STRING
A string value representing the text you want displayed as the error string. The default string is "ERROR: ".
Description
The error string appears at the beginning of each line containing error information. Receipt of such a line signals that a command has not been processed successfully. Several such lines may be issued for a given error, before the prompt is redisplayed; each line will contain the error string.
When this command is issued, the string is the rest of the command line, including white space, up to the statement terminator. This means the error string can be more than one word. To enter leading spaces or tabs, use the backslash (\) character.
Example
response to start
start local SQL "eslsqldb"
send "error ERROR! \n" to SQL
response to line "ERROR! " from SQL
add to ErrorWindow
insert input
make ErrorWindow visible
See Also:
verbose Command