error( <"message"> )

Description

This reports an error message to the user, and then aborts script processing.

Example

set A to status(channel)
if (A ! -1) error("Sorry, this script is not RISC OS compatible.")