--- freem/src/errmsg.h 2025/05/20 16:20:42 1.4 +++ freem/src/errmsg.h 2026/03/14 21:04:51 1.5 @@ -1,5 +1,5 @@ /* - * $Id: errmsg.h,v 1.4 2025/05/20 16:20:42 snw Exp $ + * $Id: errmsg.h,v 1.5 2026/03/14 21:04:51 snw Exp $ * error message definitions * * @@ -24,6 +24,9 @@ * along with FreeM. If not, see . * * $Log: errmsg.h,v $ + * Revision 1.5 2026/03/14 21:04:51 snw + * Fix segfault in OPEN command with I/O channel specified but no file + * * Revision 1.4 2025/05/20 16:20:42 snw * Update ROUTINE SSVN after ZEDIT and ZSAVE * @@ -68,7 +71,7 @@ char errmes[MAXERR][ERRLEN] = { "too many parameters\201", /* TOOPARA */ "unit not open\201", /* NOPEN */ "unit does not exist\201", /* NODEVICE */ - "file protection violation\201",/* PROTECT */ + "current user lacks sufficient rank and station to access this file\201",/* PROTECT */ "global not permitted\201", /* GLOBER */ "file not found\201", /* FILERR */ "program overflow\201", /* PGMOV */ @@ -100,7 +103,7 @@ char errmes[MAXERR][ERRLEN] = { "error in READ from socket\201", /* SCKERCV */ "error in WRITE to socket\201", /* SCKESND */ "^$ZRPI only supported on Raspberry Pi hardware\201", /* NORPI */ - "cannot redefine ZCONST\201", /* CREDEF */ + "cannot redefine CONST\201", /* CREDEF */ "cannot modify CONST\201", /* CMODIFY */ "cannot open existing file for WRITE\201", /* FILEXWR */ "initializing NEW with multiple setarguments not supported\201", /* INEWMULT */ @@ -178,17 +181,17 @@ char errmes[MAXERR][ERRLEN] = { " \201", " \201", " \201", - "naked indicator undefined\201", /* 140 - M1 */ + "the naked indicator is, at the present moment, undefined\201", /* 140 - M1 */ "invalid combination with $FNUMBER code atom\201", /* M2 */ "$RANDOM seed less than 1\201", /* M3 */ - "no true condition in $SELECT\201", /* M4 */ + "the use of $SELECT without a true condition is quite illegal\201", /* M4 */ "line reference less than zero\201", /* M5 */ - "undefined local variable\201", /* M6 */ - "undefined global variable\201", /* M7 */ - "undefined intrinsic special variable\201", /* M8 */ - "divide by zero\201", /* M9 */ - "invalid pattern match range\201", /* M10 */ - "no parameters passed\201", /* 150 - M11 */ + "the local with which you have attempted to engage is not defined\201", /* M6 */ + "the global with which you have attempted to engage is not defined\201", /* M7 */ + "the intrinsic special variable with which you have attempted to engage is not defined\201", /* M8 */ + "one cannot divide by zero and expect a reasonable result\201", /* M9 */ + "the pattern match range herein atttempted is not valid\201", /* M10 */ + "no parameters have been passed\201", /* 150 - M11 */ "invalid line reference (negative offset)\201", /* M12 */ "invalid line reference (line not found)\201", /* M13 */ "line level not 1\201", /* M14 */