|Explanation||When you CATCH an error, the system variable ERRORTEXT contains the text of an error which Logo would otherwise have printed. This variable is only set when a procedure is running. At toplevel, the variable contains the empty list .
See also ERROR.
HELLO is neither a procedure nor a name
CATCH "ERROR [HELLO]
PRINT LIST "|Code: | :ERROR
PRINT LIST "|Text: | :ERRORTEXT
Text: HELLO is neither a procedure nor a name