[Main page] [Overview]     /efun /get_error_file

SYNOPSIS
mixed * get_error_file(string name, int set_forget_flag)

DESCRIPTION
Return information about the last error which occured for
<name> (where <name> is a valid name from the wiz list).

Result is an array of four elements: the filename of the
program where the error occured, the linenumber in the
program, the error message (runtime error messages usually
start with a '*'), and a numerical flag (the 'forget flag') if
the error information has been queried already.

If there is no error stored for the given <name>, 0 is
returned.

If <set_forget_flag> is non-zero, the 'forget' flag is set
for the error message after it has been returned.

SEE ALSO
ed(E), valid_read(M)