ERROR

ERROR


EREPLACE Index Level ERROR
Syntax ERROR message.number,"parameter"{,"parameter"...}
Category BASIC
Type Statement
Description displays the error message from the "messages" file and continues execution of the program.

The parameter{s} are passed to the error message handler and displayed according to the requirements of the item in the "messages" file.
Options
See Also statements & functions ABORT STOP OPEN print-err messages file print-error
Example read item from cust.file,"test" else
 error 202,"test"
end

The "error" statement in this example displays:

[202] 'test' is not on file.
Warnings
Compatibility D3 7.0 AP
EREPLACE Index Level ERROR