error

Help Contents Conditional execution error
catch _maybeOutput

error


outputs a list describing the error just caught, if any. If there was not an error caught since the last use of ERROR, the empty list will be output. The error list contains four members: an integer code corresponding to the type of error, the text of the error message, the name of the procedure in which the error occurred, and the instruction line on which the error occurred.

Example:

to t
	pr 1
	catch "error
	[	asdfsfg
	]
	show error
end
;t defined
t
;1
;[13 [; I don't know how  to asdfsfg] t 3]

See also:

Examples:

References:

catch _maybeOutput