MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | SYNOPSIS |
| 2 | mixed * get_error_file(string name, int set_forget_flag) |
| 3 | |
| 4 | DESCRIPTION |
| 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 | |
| 20 | SEE ALSO |
| 21 | ed(E), valid_read(M) |