blob: 797e5236a22a163e8b090fc921b5f2cd2188efd4 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
2 mixed * get_error_file(string name, int set_forget_flag)
3
4DESCRIPTION
5 Return information about the last error which occured for
6 <name> (where <name> is a valid name from the wiz list).
7
8 Result is an array of four elements: the filename of the
9 program where the error occured, the linenumber in the
10 program, the error message (runtime error messages usually
11 start with a '*'), and a numerical flag (the 'forget flag') if
12 the error information has been queried already.
13
14 If there is no error stored for the given <name>, 0 is
15 returned.
16
17 If <set_forget_flag> is non-zero, the 'forget' flag is set
18 for the error message after it has been returned.
19
20SEE ALSO
21 ed(E), valid_read(M)