blob: d01a69ddbeb8468e36b12bccac8a55478936d582 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
2 mixed * get_error_file(string name, int set_forget_flag)
3
Zesstra715ec202025-07-09 22:18:31 +02004DESCRIPTION
5 Return information about the last error which occurred for
6 <name> (where <name> is a valid name from the wiz list).
MG Mud User88f12472016-06-24 23:31:02 +02007
Zesstra715ec202025-07-09 22:18:31 +02008 Result is an array of four elements: the filename of the
9 program where the error occurred, 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.
MG Mud User88f12472016-06-24 23:31:02 +020013
Zesstra715ec202025-07-09 22:18:31 +020014 If there is no error stored for the given <name>, 0 is
15 returned.
MG Mud User88f12472016-06-24 23:31:02 +020016
Zesstra715ec202025-07-09 22:18:31 +020017 If <set_forget_flag> is non-zero, the 'forget' flag is set
18 for the error message after it has been returned.
MG Mud User88f12472016-06-24 23:31:02 +020019
Zesstra715ec202025-07-09 22:18:31 +020020SEE ALSO
MG Mud User88f12472016-06-24 23:31:02 +020021 ed(E), valid_read(M)